Closed bdw429s closed 6 years ago
The log4j.debug property should be fixed now, but we're going to need to discuss logging... instead of levels we should use profiles, as there are lots of knobs to twist now... input welcome once you can actually test again. :smiley:
@denuno The crazy debugging is gone, but the original Log4J messages are present the first time an HTTP call is made. This is so easy to test. Just fire up box
and run a command that hits HTTP such as forgebox show coldbox
and you'll see this output:
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
If you ever want to turn this back on, just pass -Dlog4j.debug=true
. :smiley: I think it's all good now as I've switched to a programmatic configuration.
@denuno This is not fixed. I'm testing the very latest 3.8.1 build from cfmlprojects and the first HTTP call made after I load up the CLI is outputting these messages to the console.
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Did you put in a fix that worked for you after I reported this again on the 2nd? This has been broken in every single build of runwar so far with the possible exception of one of the very early 3.8.0 ones.
It seems these warnings are finally gone.
This message here that appears when the first http call is made was gone in the first 3.8 snapshot, but now it's back:
And now there's even more logging popping up. This is from just closing a Git repo with JGit.