How to make Pax logging to use the loggback config instead of the standard log4j properties like syntax

后端 未结 1 864
被撕碎了的回忆
被撕碎了的回忆 2021-01-27 08:07

I have some services in tomcat and trying to move to apache karaf.

I have a existing service which uses logback for logging configuration.

I tried to make same c

相关标签:
1条回答
  • 2021-01-27 09:05

    The logback backend of Pax Logging is in a separate bundle mvn:org.ops4j.pax.logging/pax-logging-logback/1.7.1 which is not part of Karaf.

    So if you didn't install this bundle manually, then it's no surprise that your logback.xml gets ignored.

    0 讨论(0)
提交回复
热议问题