summaryrefslogtreecommitdiff
path: root/src/main/resources/log4j.properties
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/log4j.properties')
-rw-r--r--src/main/resources/log4j.properties12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties
new file mode 100644
index 0000000..dd063e6
--- /dev/null
+++ b/src/main/resources/log4j.properties
@@ -0,0 +1,12 @@
+# commons-logging setup
+org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
+
+# define log4j root loggers
+log4j.rootLogger=warn, stdout
+log4j.logger.at.gv.util=trace, stdout
+log4j.additivity.at.gv.util=false
+
+# configure the stdout appender
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss} | %20c | %m%n \ No newline at end of file