config/log4j.lcf.template
author Juan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Sat, 08 Dec 2007 11:53:32 +0000
changeset 177 7ffc78e036f0
parent 0 0247c26f10c6
child 523 73f755099221
permissions -rw-r--r--
Rename log file to openbravo.log, clean up and point to /var/lib/tomcat-6
log4j.rootCategory=WARN, R

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=${catalina.base}/logs/openbravo.log
log4j.appender.R.MaxFileSize=10000KB

# R uses PatternLayout.
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{HH:mm:ss} [%t] %-5p %c - %m%n

# Keep one backup file
log4j.appender.R.MaxBackupIndex=1

log4j.category.reloadXml=ERROR
log4j.category.org=WARN

# To debug an specific class
#log4j.category.org.openbravo.erpCommon.ad_process=DEBUG