On 9/16/13 12:50 , Christopher BROWN wrote:
Hi,
I provide my own implementation of the Felix logger (I'm not referring the
OSGi log service here, I'm aware of the difference). I set it up using the
HashMap I provided to the Felix constructor (I'm using Felix in embedded
mode), using the two following properties:
FelixConstants.LOG_LEVEL_PROP
FelixConstants.LOG_LOGGER_PROP
It all works fine. However, once constructed, I can't see anyway to change
the log level at runtime. The use case involves starting in INFO or
WARNING level, and briefly setting it to DEBUG before returning to the
previous (less verbose) setting.
Is this possible?
I see a Logger.setLogLevel() method...
If you've created the logger, then you should have a reference to it.
-> richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]