How do I set a different log level for a specific bundle from karaf> prompt?
log:set TRACE
sets TRACE level logging for all. I want INFO/DEBUG for ROOT and TRACE level logging for a specific bundle.
How about:
log:set <level> <package>
typed in the console karaf.
You can't from prompt. For this you'll need to alter the org.ops4j.pax.logging.cfg file. Either by altering the file directly or by using the config:* commands.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With