Hello,
after the task scanner plugin was complaining about a missing log4j configuration file, I took a look at the included dependencies in the war and found:
- commons-logging
- log4j
- slf4j-api
- slf4j-jd14
This is a weird mixture:
- everything using the slf4j-api will use the standard two line java.util.logging.
- everything using commons-logging or log4j directly will use log4j and this one is not configured so either they show up in the console output or are redirected to stderr or are lost in the dark.
I propose we mark log4j and commons-logging as provided and add log4j-over-slf4j and jcl-over-slf4j as runtime or compile dependencied so everything will use java.until.logging in the end.
What do you think?
Regards
Mirko
--
Sent from my mobile
Hasn’t core PR 1765 already addressed parts of this
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAK8jvqyCGOU9u%2BXG8jG9Tr__sdivg4X2jfheo7%2B%3Dxn1O7%2B3yiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hello Baptiste,
great suggestion, I just did this.
Regards
Mirko
--
Sent from my mobile
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS4hosc8M7oBiBFgaDTWvD8qtu8ajx2SAF1-hAqwaQp%3DWA%40mail.gmail.com.