config/log4j.lcf.template
author Juan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Fri, 14 Mar 2008 13:25:09 +0000
changeset 539 57856b305e80
parent 538 config/log4j.lcf@89d26b538933
child 1738 d8dcb2ecfd14
permissions -rw-r--r--
[1914276] Have a log4j.lcf.template back, but keep userconfig.xml
juanpablo@538
     1
# *************************************************************************
juanpablo@538
     2
# * The contents of this file are subject to the Openbravo  Public  License
juanpablo@538
     3
# * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@538
     4
# * Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@538
     5
# * file except in compliance with the License. You  may  obtain  a copy of
juanpablo@538
     6
# * the License at http://www.openbravo.com/legal/license.html 
juanpablo@538
     7
# * Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@538
     8
# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@538
     9
# * License for the specific  language  governing  rights  and  limitations
juanpablo@538
    10
# * under the License. 
juanpablo@538
    11
# * The Original Code is Openbravo ERP. 
juanpablo@538
    12
# * The Initial Developer of the Original Code is Openbravo SL 
juanpablo@538
    13
# * All portions are Copyright (C) 2007 Openbravo SL 
juanpablo@538
    14
# * All Rights Reserved. 
juanpablo@538
    15
# * Contributor(s):  ______________________________________.
juanpablo@538
    16
# ************************************************************************
juanpablo@538
    17
juanpablo@538
    18
log4j.rootCategory=WARN, R
juanpablo@538
    19
juanpablo@538
    20
log4j.appender.R=org.apache.log4j.RollingFileAppender
juanpablo@539
    21
log4j.appender.R.File=${catalina.base}/logs/openbravo.log
juanpablo@538
    22
log4j.appender.R.MaxFileSize=10000KB
juanpablo@538
    23
juanpablo@538
    24
# R uses PatternLayout.
juanpablo@538
    25
log4j.appender.R.layout=org.apache.log4j.PatternLayout
juanpablo@538
    26
log4j.appender.R.layout.ConversionPattern=%d{HH:mm:ss} [%t] %-5p %c - %m%n
juanpablo@538
    27
juanpablo@538
    28
# Keep one backup file
juanpablo@538
    29
log4j.appender.R.MaxBackupIndex=1
juanpablo@538
    30
juanpablo@538
    31
log4j.category.reloadXml=ERROR
juanpablo@538
    32
log4j.category.org=WARN
juanpablo@538
    33
juanpablo@538
    34
# To debug an specific class
juanpablo@538
    35
#log4j.category.org.openbravo.erpCommon.ad_process=DEBUG