Rename log file to openbravo.log, clean up and point to /var/lib/tomcat-6
authorJuan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Sat, 08 Dec 2007 11:53:32 +0000
changeset 177 7ffc78e036f0
parent 176 b224d0491afa
child 178 ef6d0307d41b
Rename log file to openbravo.log, clean up and point to /var/lib/tomcat-6
config/log4j.lcf.template
--- a/config/log4j.lcf.template	Sat Dec 08 10:50:10 2007 +0000
+++ b/config/log4j.lcf.template	Sat Dec 08 11:53:32 2007 +0000
@@ -1,31 +1,18 @@
-# Set root category priority to DEBUG and its only appender to A1.
-#log4j.rootCategory=WARN, A1
-
-# A1 is set to be a ConsoleAppender. 
-#log4j.appender.A1=org.apache.log4j.ConsoleAppender
-  
-# A1 uses PatternLayout.
-#log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-#log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
-
-
-#log4j.category.reloadXml=DEBUG 
-#log4j.category.org=WARN
-
 log4j.rootCategory=WARN, R
 
 log4j.appender.R=org.apache.log4j.RollingFileAppender
-log4j.appender.R.File=${catalina.home}/logs/log4j_TAD.log
+log4j.appender.R.File=${catalina.base}/logs/openbravo.log
 log4j.appender.R.MaxFileSize=10000KB
 
-# A1 uses PatternLayout.
+# 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