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


configuration/logback.xml does not become effective

asked 2014-11-15 09:18:34 -0700

skywalker gravatar image

I am using the integration project, stable helium branch.

The settings in integration/distributions/extra/karaf/target/assembly/configuration/logback.xml don't seem to have any impact on the logging messages.

With the command log:tail I see a lot of messages. I would want to disable continuous and annoying warnings from:


so here it is a radical logback test file that I have used:

Strangely enough, it does not limit the logs. Are you facing the same problem? How did you fix it?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-11-21 06:17:41 -0700

Dana gravatar image

Hi, Helium is based on Karaf and karaf does ignore logback file. If you want to disable warnings, you can set log level ERROR on those components (in karaf console):

log:set ERROR org.opendaylight.controller.sal-inmemory-datastore
log:set ERROR
log:set ERROR org.opendaylight.controller.sal-broker-impl

Hope it helps.

edit flag offensive delete publish link more


Does this work for you? I got the same problem, using logback.xml and set the three components to loglevel error. if i use log:get at karaf shell on one of these components the log level is "error" like i had configured in the lockback.xml but in the log are still warn output messages! so for my understanding the log level is set right but level error still prints warn messages. perhaps log level error includes warn messages? is there another way to disable the periodic warn messages (every 10s) for these components?

mawil ( 2014-11-24 03:16:35 -0700 )edit

answered 2016-08-11 05:33:31 -0700

danielZt gravatar image

In Beryllium target/assembly/etc/org.ops4j.pax.logging.cfg is the file in which the logging levels can be set.

The logging levels set using log:set <level> [logger] are saved there.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-11-15 09:18:34 -0700

Seen: 270 times

Last updated: Aug 11 '16