[Yanel-commits] rev 45836 - public/yanel/trunk/conf
michi at wyona.com
michi at wyona.com
Fri Dec 4 14:34:35 CET 2009
Author: michi
Date: 2009-12-04 14:34:35 +0100 (Fri, 04 Dec 2009)
New Revision: 45836
Modified:
public/yanel/trunk/conf/log4j.properties
Log:
404 log added
Modified: public/yanel/trunk/conf/log4j.properties
===================================================================
--- public/yanel/trunk/conf/log4j.properties 2009-12-04 13:19:32 UTC (rev 45835)
+++ public/yanel/trunk/conf/log4j.properties 2009-12-04 13:34:35 UTC (rev 45836)
@@ -12,9 +12,13 @@
log4j.category.Access=INFO, A2
-# Do not log Access also within rootCategory
+# Do not log Access within rootCategory
log4j.additivity.Access=false
+log4j.category.404=INFO, A3
+# Do not log 404 within rootCategory
+log4j.additivity.404=false
+
#log4j.rootCategory=DEBUG, A1
#log4j.rootCategory=INFO, A1
log4j.rootCategory=WARN, A1
@@ -44,6 +48,15 @@
log4j.appender.A2.MaxBackupIndex=7
+# 404 log4j
+log4j.appender.A3=org.apache.log4j.RollingFileAppender
+log4j.appender.A3.File=@LOG4J_DIR@/404-cnode at CNODE_ID@.log
+log4j.appender.A3.layout=org.apache.log4j.PatternLayout
+log4j.appender.A3.layout.ConversionPattern=%-4r %d [%t] %-5p %c %x - %m%n
+log4j.appender.A3.MaxFileSize=1000KB
+log4j.appender.A3.MaxBackupIndex=7
+
+
# Exceptions to the above rules
log4j.category.org.wyona.yarep.core.Repository=INFO
# Makes Jelly errors visible, but do not use in production, because it also generates a lot of debug messages
More information about the Yanel-commits
mailing list