The log4j.properties file is not found.
log4j:WARN No appenders could be found for logger (org.myorg.my-app).
log4j:WARN Please initialize the log4j system properly.
Obviously log4j.properties is not on the classpath but everything was done according to the tutorial, I'm at a loss as to what is missing.
Any help or guidance would be appreciated.
posted 9 years ago
I'm answering my own question in case this post turns up in a search. The short answer is that what I was seeing is expected behavior. Log4j is not expecting to have to find its' config file in a jar file. A copy of the config file must exist on the classpath regardless of what is in the jar file.