Re-configure Log4J.

master
Etzelia 2018-12-10 20:47:23 +01:00
parent c4c180c29b
commit ac552c17e6
1 changed files with 11 additions and 1 deletions

View File

@ -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