摘要:
#### Use two appenders, one to log to console, another to log to a file
log4j.rootCategory=DEBUG, stdout, debugout, R, R2
#log4j.rootCategory=DEBUG, debugout, R, R2 log4j.logger.org=INFO #### First appender writes to console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.... 阅读全文