summaryrefslogtreecommitdiffstats
path: root/src/main/properties/log4j.properties
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/properties/log4j.properties')
-rw-r--r--src/main/properties/log4j.properties15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/main/properties/log4j.properties b/src/main/properties/log4j.properties
index 881887e..3baa9b6 100644
--- a/src/main/properties/log4j.properties
+++ b/src/main/properties/log4j.properties
@@ -1,11 +1,14 @@
-log4j.rootLogger=DEBUG, A1
+# root level logging configuration
+log4j.rootLogger=ALL, console
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-
-log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %F - %m%n
+# configuration for console output
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern=[%t] %-5p %F - %m%n
+log4j.appender.console.encoding=UTF-8
+log4j.appender.console.Threshold=INFO
+# overwrite logging level for specific packages and classes
log4j.logger.org.apache.directory=ERROR
log4j.logger.org.apache.mina=ERROR
log4j.logger.org.apache.thrift.server.AbstractNonblockingServer=ERROR