summaryrefslogtreecommitdiffstats
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.properties16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties
new file mode 100644
index 0000000..da3d861
--- /dev/null
+++ b/src/main/resources/log4j.properties
@@ -0,0 +1,16 @@
+log4j.rootLogger=debug, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+
+# Pattern to output the caller's file name and line number.
+log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
+
+log4j.logger.org.qcg.qcgdata.gdrop=, F
+log4j.additivity.org.qcg.qcgdata.gdrop=false
+log4j.appender.F = org.apache.log4j.RollingFileAppender
+log4j.appender.F.file=${catalina.home}/logs/gdrop.log
+log4j.appender.F.MaxFileSize=1024KB
+log4j.appender.F.MaxBackupIndex=1
+log4j.appender.F.layout=org.apache.log4j.PatternLayout
+log4j.appender.F.layout.ConversionPattern=%p %d [%C:%L] - %m%n \ No newline at end of file