# ------------------------------------------------------------------------
# Comments to: martin.senger@gmail.com
# $Id: log4j.properties.template,v 1.3 2008/02/22 03:07:20 senger Exp $
# ------------------------------------------------------------------------

# create A1 or A2 logger for jMoby and its relatives
# (make sure that it does not propagate to higher level)
# ------------------------------------------------------
log4j.logger.org.biomoby  = DEBUG, A1, A2
log4j.logger.org.tulsoft  = DEBUG, A1, A2
log4j.logger.ca           = DEBUG, A1, A2
log4j.additivity.ca           = false
log4j.additivity.org.biomoby  = false
log4j.additivity.org.tulsoft  = false

# create B1 or B2 logger for the rest of the world
# ------------------------------------------------
log4j.rootLogger=INFO, B1, B2

# set jMoby's appenders and layouts
# ---------------------------------
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c{1} %x- %m%n
log4j.appender.A1.threshold=WARN
log4j.appender.A1.target=System.err

log4j.appender.A2=org.apache.log4j.FileAppender
log4j.appender.A2.file=/home/websites/biomoby.org/html/CVS_CONTENT/moby-live/Java/jMoby.log
log4j.appender.A2=org.apache.log4j.RollingFileAppender
log4j.appender.A2.MaxFileSize=500KB
log4j.appender.A2.MaxBackupIndex=9
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%d{ISO8601} %-4r [%t] %-5p %c{1} %x- %m%n

# set appenders and layouts for the rest of the world
# ---------------------------------------------------
log4j.appender.B1=org.apache.log4j.ConsoleAppender
log4j.appender.B1.layout=org.apache.log4j.PatternLayout
log4j.appender.B1.layout.ConversionPattern=%-4r [%t] %-5p %c{1} %x- %m%n
log4j.appender.B1.threshold=WARN

log4j.appender.B2=org.apache.log4j.FileAppender
log4j.appender.B2.file=/home/websites/biomoby.org/html/CVS_CONTENT/moby-live/Java/jMoby-others.log
log4j.appender.B2=org.apache.log4j.RollingFileAppender
log4j.appender.B2.MaxFileSize=500KB
log4j.appender.B2.MaxBackupIndex=9
log4j.appender.B2.layout=org.apache.log4j.PatternLayout
log4j.appender.B2.layout.ConversionPattern=%d{ISO8601} %-4r [%t] %-5p %c{1} %x- %m%n

# the rest:
# ---------
# Ignore less significant messages from the third-party packages
#log4j.logger.org.apache = WARN
#log4j.logger.org.apache.commons.httpclient=WARN
###log4j.logger.com.hp.hpl.jena.rdf.model.impl = ERROR
