Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Log verbosity settings in karaf


Is there a way to set default log level in karaf. For instance, Openflowplugin and OVSDB plugins are producing a lot of warning messages and every time I build karaf, I have to write following 3 commands again.

opendaylight-user@root>log:set error org.opendaylight.ovsdb
opendaylight-user@root>log:set error org.opendaylight.openflowjava
opendaylight-user@root>log:set error org.opendaylight.opendaylightplugin

Or the other workoaround is to add the follwoing in file org.ops4j.pax.logging.cfg in karaf/target/assembly/etc folder = ERROR = ERROR = ERROR

But this too has to be done every new build.

Is their some concrete and persistent way to configure that, like maybe a property in karaf pom file?