# The level value can consist of the string values
# OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL
log4j.threshold=ALL
log4j.rootLogger=STDOUT, APPLOG

log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
# Print the date in ISO 8601 format
log4j.appender.STDOUT.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

# APPLOG appender
log4j.appender.APPLOG=org.apache.log4j.DailyRollingFileAppender
log4j.appender.APPLOG.File=/tmp/sakai-common.log
log4j.appender.APPLOG.DatePattern='.'yyyy-MM-dd
log4j.appender.APPLOG.layout=org.apache.log4j.PatternLayout
log4j.appender.APPLOG.layout.ConversionPattern=%-5p %d{ISO8601} [%X{UNIQUE_ID}:%X{REMOTE_ADDR}:%X{SERVLET_PATH}] %c - %m%n

# org.apache
log4j.logger.org.apache=INFO

#hibernate
log4j.logger.net.sf.hibernate=INFO

#ehcache
log4j.logger.net.sf.ehcache=INFO

log4j.logger.org.springframework.orm.hibernate.LocalSessionFactoryBean=ERROR

log4j.logger.org.sakaiproject.component.common.hibernate=DEBUG
