2014-02-27 04:54:44 +01:00
|
|
|
|
|
|
|
# define the console appender
|
|
|
|
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
|
|
|
|
log4j.appender.stdout.Target = System.out
|
2014-02-27 10:28:23 +01:00
|
|
|
log4j.appender.stdout.Threshold = info
|
2014-02-27 04:54:44 +01:00
|
|
|
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
|
2014-02-27 10:28:23 +01:00
|
|
|
log4j.appender.stdout.layout.ConversionPattern = %m%n
|
2014-02-27 04:54:44 +01:00
|
|
|
|
|
|
|
# now map our console appender as a root logger, means all log messages will go to this appender
|
2014-06-12 07:21:09 +02:00
|
|
|
log4j.rootLogger = debug, stdout
|