Shantanu Kumar avatar Shantanu Kumar committed 0a8b320

log4j properties for test mode

Comments (0)

Files changed (1)


+# Possible Log Levels: FATAL, ERROR, WARN, INFO, DEBUG
+#log4j.rootLogger=DEBUG, S, R
+#log4j.rootLogger=TRACE, S, R
+#log4j.rootLogger=WARN, A1
+# 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.