|
@@ -1,16 +1,19 @@
|
|
|
-log4j.rootLogger=INFO,ConsoleAppender,RollingFileAppender
|
|
|
+log4j.rootLogger=INFO,ConsoleAppender,RollingLogFileAppender
|
|
|
log4j.appender.RollingLogFileAppender=org.apache.log4j.RollingFileAppender
|
|
|
log4j.appender.RollingLogFileAppender.Threshold=INFO
|
|
|
-log4j.appender.RollingLogFileAppender.ImmediateFlush=true
|
|
|
-log4j.appender.RollingLogFileAppender.File=zillion.log
|
|
|
+log4j.appender.RollingLogFileAppender.ImmediateFlush=false
|
|
|
+log4j.appender.RollingLogFileAppender.File=../logs/compute-engine/zillion.log
|
|
|
log4j.appender.RollingLogFileAppender.Append=true
|
|
|
-log4j.appender.RollingLogFileAppender.MaxFileSize=128MB
|
|
|
-log4j.appender.RollingLogFileAppender.MaxBackupIndex=16
|
|
|
+log4j.appender.RollingLogFileAppender.MaxFileSize=20MB
|
|
|
+log4j.appender.RollingLogFileAppender.Encoding=UTF-8
|
|
|
+log4j.appender.RollingLogFileAppender.MaxBackupIndex=100
|
|
|
log4j.appender.RollingLogFileAppender.layout=org.apache.log4j.PatternLayout
|
|
|
-log4j.appender.RollingLogFileAppender.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %t %m%n
|
|
|
+log4j.appender.RollingLogFileAppender.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss}:%-5p %l - %m%n
|
|
|
+#print Console
|
|
|
log4j.appender.ConsoleAppender=org.apache.log4j.ConsoleAppender
|
|
|
log4j.appender.ConsoleAppender.Threshold=INFO
|
|
|
log4j.appender.ConsoleAppender.ImmediateFlush=true
|
|
|
log4j.appender.ConsoleAppender.Target=System.out
|
|
|
log4j.appender.ConsoleAppender.layout=org.apache.log4j.PatternLayout
|
|
|
-log4j.appender.ConsoleAppender.layout.ConversionPattern=%d{yyyy-MM-dd HH\:mm\:ss} %t %m%n
|
|
|
+log4j.appender.ConsoleAppender.Encoding=UTF-8
|
|
|
+log4j.appender.ConsoleAppender.layout.ConversionPattern=%d{yyyy-MM-dd HH\:mm\:ss} %m%n
|