diff options
author | Joe Robinson <joe@lc8n.com> | 2015-12-11 00:31:03 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2015-12-11 00:31:03 +0000 |
commit | 9352a6048cff723220cd022591d93f9ccd2eb814 (patch) | |
tree | fe2517eff364f5250e21951dd9fba08ed4d9d7a7 /config/log4j.properties | |
parent | 3c9d15ce7de4bb919a1933682ef799c36c40b72d (diff) |
Add log4j for logging
Diffstat (limited to 'config/log4j.properties')
-rw-r--r-- | config/log4j.properties | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/log4j.properties b/config/log4j.properties new file mode 100644 index 0000000..6b34072 --- /dev/null +++ b/config/log4j.properties @@ -0,0 +1,6 @@ + +# Redirect log messages to console +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.Target=System.out +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
\ No newline at end of file |