Source

Fountain-JDBC / src / test / clj / log4j.properties

Full commit
# 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