From 36bafd8b65b0dacd1362aa99fa4517e9bff01a58 Mon Sep 17 00:00:00 2001 From: Roger Chen Date: Wed, 1 Feb 2017 20:33:27 +0800 Subject: [PATCH] Add log4j.properties file --- src/main/resources/log4j.properties | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/main/resources/log4j.properties diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties new file mode 100644 index 0000000..0ae529d --- /dev/null +++ b/src/main/resources/log4j.properties @@ -0,0 +1,6 @@ +log4j.rootLogger=INFO, A1 +log4j.appender.A1=org.apache.log4j.ConsoleAppender +log4j.appender.A1.layout=org.apache.log4j.PatternLayout + +# Print the date in ISO 8601 format +log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n