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

# ROOT CONFIGURATION
log4j.rootLogger=warn, 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}][%t][%X{globalRequestId}] %m %n


# I2b2
log4j.logger.net.shrine=info, 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}][%t][%X{globalRequestId}] %m %n

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