Permalink
Browse files

Re adjusting the log4j settings

  • Loading branch information...
1 parent 5a4db04 commit 5848c2901d9a491bb8b966f5b8386fe07dcd078c @rbpark committed Mar 21, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 azkaban/src/java/log4j.properties
@@ -1,6 +1,8 @@
-log4j.rootLogger=INFO, Console
-
+log4j.rootLogger=INFO
+log4j.logger.azkaban=INFO, Azkaban
+log4j.logger.azkaban.web.AbstractAzkabanServlet=INFO, R
+# Console is set to be a ConsoleAppender.
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d{yyyy/MM/dd HH:mm:ss.SSS Z} %p [%c{1}] [Azkaban] %m%n
@@ -17,4 +19,5 @@ log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.File=azkaban-access.log
log4j.appender.R.layout.ConversionPattern=%d{yyyy/MM/dd HH:mm:ss.SSS Z} %p [%c{1}] [Azkaban] %m%n
log4j.appender.R.MaxFileSize=102400MB
+# Keep one backup file
log4j.appender.R.MaxBackupIndex=2

0 comments on commit 5848c29

Please sign in to comment.