Replies: 2 comments 2 replies
-
pax-logging configures it's backend with the help of Configuration Admin. In particular, it manages a PID (Persistence IDentifier) named In Apache Karaf, these configurations may be managed using Felix Fileinstall and files named Because Logback can be configured only using XML file, you need to specify one option:
This target file is simply a Logback configuration file and you can do whatever you want there. Please have a look at documentation page: https://ops4j1.jira.com/wiki/spaces/paxlogging/pages/499351734/Configuring+Logback If you have any questions, please add them here. |
Beta Was this translation helpful? Give feedback.
-
I'd have to see your deployment configuration - looks like you're not using Karaf. If you set framework properties:
you'll see information about how Pax Logging configures logback. If you could share your project via GitHub, I could have a look too. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am not familiar with OSGi specifications in general and R7 in particular...
When using traditional logback (in JavaSE application) the log level can be configured with some xml or properties file present on the classpath. How does it work with
pax-logging-logback
?I am just willing to change the level from INFO to WARNING.
Beta Was this translation helpful? Give feedback.
All reactions