# LOG Pattern Layouts are covered here: http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html

# ROOT CONFIGURATION
log4j.rootLogger=error, R
log4j.appender.R=org.apache.log4j.ConsoleAppender
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[%d{yyyy-MMM-dd-HH:mm:ss.SSS}][%p][ROOT][%C{1}][%m] %n

# I2b2
log4j.logger.net.shrine=debug, shrine
log4j.additivity.net.shrine=false
log4j.appender.shrine=org.apache.log4j.ConsoleAppender
log4j.appender.shrine.layout=org.apache.log4j.PatternLayout
log4j.appender.shrine.layout.ConversionPattern=[%d{yyyy-MMM-dd-HH:mm:ss.SSS}][%p][SHRINE][%C{1}] [%m] %n

# Spin
log4j.logger.org.spin=info, spin
log4j.additivity.org.spin.node=false
log4j.appender.node=org.apache.log4j.ConsoleAppender
log4j.appender.node.layout=org.apache.log4j.PatternLayout
log4j.appender.node.layout.ConversionPattern=[%d{yyyy-MMM-dd-HH:mm:ss.SSS}][%p][SPIN][%C{1}] [%m] %n

# HIBERNATE
log4j.logger.org.hibernate=warn, hibernate
log4j.additivity.org.hibernate=false
log4j.appender.hibernate=org.apache.log4j.ConsoleAppender
log4j.appender.hibernate.layout=org.apache.log4j.PatternLayout
log4j.appender.hibernate.layout.ConversionPattern=[%d{yyyy-MMM-dd-HH:mm:ss.SSS}][%p][HIBERNATE][%C{1}] [%m] %n

