There are 2 simple ways to change the logging level for a package in Apache Karaf. You can of course get more complex with your configurations and log to different files, but these are the simple way to just change logging level for 1 package and its sub-packages.
1. Inside the console run:
log:set <level> <package>
2. Inside fuse/etc/org.ops4j.pax.logging.cfg add the following line
log4j.logger.<package> = <level>
No comments:
Post a Comment