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
carlos@0
     1
log4j.rootCategory=WARN, R
carlos@0
     2
carlos@0
     3
log4j.appender.R=org.apache.log4j.RollingFileAppender
juanpablo@177
     4
log4j.appender.R.File=${catalina.base}/logs/openbravo.log
carlos@0
     5
log4j.appender.R.MaxFileSize=10000KB
carlos@0
     6
juanpablo@177
     7
# R uses PatternLayout.
carlos@0
     8
log4j.appender.R.layout=org.apache.log4j.PatternLayout
carlos@0
     9
log4j.appender.R.layout.ConversionPattern=%d{HH:mm:ss} [%t] %-5p %c - %m%n
carlos@0
    10
carlos@0
    11
# Keep one backup file
carlos@0
    12
log4j.appender.R.MaxBackupIndex=1
carlos@0
    13
carlos@0
    14
log4j.category.reloadXml=ERROR
carlos@0
    15
log4j.category.org=WARN
juanpablo@177
    16
juanpablo@177
    17
# To debug an specific class
carlos@0
    18
#log4j.category.org.openbravo.erpCommon.ad_process=DEBUG