Commits

Shantanu Kumar committed 0a8b320

log4j properties for test mode

  • Participants
  • Parent commits 8b5a0a0

Comments (0)

Files changed (1)

src/test/clj/log4j.properties

+# Possible Log Levels: FATAL, ERROR, WARN, INFO, DEBUG
+#log4j.rootLogger=DEBUG, S, R
+#log4j.rootLogger=TRACE, S, R
+#log4j.rootLogger=WARN, A1
+
+#log4j.logger.com.dappit.Dapper.parser=ERROR
+#log4j.logger.org.w3c.tidy=FATAL
+
+# console (stdout) appender
+log4j.appender.S = org.apache.log4j.ConsoleAppender
+log4j.appender.S.layout = org.apache.log4j.PatternLayout
+log4j.appender.S.layout.ConversionPattern = %p [%d{yyyy-MM-dd HH:mm:ss}] - %c{1}: \n%m%n
+
+# daily folling file appender
+log4j.appender.R = org.apache.log4j.DailyRollingFileAppender
+log4j.appender.R.File = log/fountain-jdbc.log
+log4j.appender.R.Append = true
+log4j.appender.R.DatePattern = '.'yyy-MM-dd
+log4j.appender.R.layout = org.apache.log4j.PatternLayout
+log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n