Github user neykov commented on the pull request:

    https://github.com/apache/brooklyn-server/pull/93#issuecomment-203999393
  
    RE logging - we can replace the backend logger from log4j to logback by:
      * override `etc/startup.properties` replacing `pax-logging-service` for 
`pax-logging-logback`
      * in `org.ops4j.pax.logging.cfg` replace with 
`org.ops4j.pax.logging.logback.config.file=${karaf.base}/etc/logback.xml`
      * add `logback.xml` to dist
      * add `pax-logging-logback` as a dependency in the pom so it gets 
included in the dist
    
    BUT then we need to put any of the included files from `logback.xml` in the 
etc folder. Jars containing overrides will be ignored. Might be possible to 
have the defaults (i.e. logback-includes) in a bundle by making it an extension 
to pax-logging, but needs to be confirmed.
    
    SO do we really need it? Why not go with log4j other than familiarity with 
logback.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to