Here's a minimalist log4j.properties file you can use if you're getting messages that say
- log4j:WARN No appenders could be found for logger log4j:WARN Please initialize the log4j system properly.
#If you want to see what Log4J is doing:
#log4j.debug=true
log4j.rootCategory=INFO,console
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%5p %d{ISO8601} [%t] (%c:%L) - %m%nSee also
Log4J Tutorial by Ashley J.S Mills, The University Of Birmingham.
Configuring Log4J in an EAR file by Vikram Goyal
Short introduction to log4j by Ceki Gülcü
