[Feature Request] Option to disable trace logs in `aQute.remote.util.Link<L, R>`
External applications could make use of Bnd Remote Agent to connect to remote runtimes and the trace logs appear consistently and pollutes the remote runtime console heavily. It would be better to introduce a system property to disable the logging on demand.
The logging is SLF4J logging so you have complete control over the log output. When using the slf4j-simple binding, you can use the system property -Dorg.slf4j.simpleLogger.log.aQute.lib.link.Link=error to only display the error level log output. If using a different slf4j binding, you will need to configure the log level according to the binding's documentation.
When launching Bndtools for testing/debugging, we use the logback slf4j binding with this configuration file to control the log levels for various loggers.
I think we need to introduce logging support here
I think we need to introduce logging support here
In the title of this issue you named aQute.lib.link.Link which is, of course, where I looked. Now you seem to instead be talking about aQute.remote.util.Link which is a different class. Please correct the title to refer to the class you are talking about. Thanks.
Yeah, you are right. It was confusing. My bad!! I will change it right away.
Closed by https://github.com/bndtools/bnd/pull/5345