Re-configure Log4J.
parent
c4c180c29b
commit
ac552c17e6
|
@ -1,5 +1,15 @@
|
||||||
# Root logger option
|
# Root logger option
|
||||||
log4j.rootLogger=INFO
|
log4j.rootLogger=INFO, stdout
|
||||||
|
|
||||||
|
# Other logger options
|
||||||
|
log4j.logger.mcm.global=INFO, mcm.global
|
||||||
|
log4j.additivity.mcm.global=false
|
||||||
|
log4j.logger.mcm.staff=INFO, mcm.staff
|
||||||
|
log4j.additivity.mcm.staff=false
|
||||||
|
|
||||||
|
# stdout
|
||||||
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||||
|
log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout
|
||||||
|
|
||||||
# Redirect log messages to a log file, support file rolling.
|
# Redirect log messages to a log file, support file rolling.
|
||||||
log4j.appender.mcm.global=org.apache.log4j.RollingFileAppender
|
log4j.appender.mcm.global=org.apache.log4j.RollingFileAppender
|
||||||
|
|
Loading…
Reference in New Issue