You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jw...@apache.org on 2005/03/08 14:41:38 UTC
svn commit: r156524 -
lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/log4j.xconf
Author: jwkaltz
Date: Tue Mar 8 05:41:37 2005
New Revision: 156524
URL: http://svn.apache.org/viewcvs?view=rev&rev=156524
Log:
replaced TODO with an example of category configuration
Modified:
lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/log4j.xconf
Modified: lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/log4j.xconf
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/log4j.xconf?view=diff&r1=156523&r2=156524
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/log4j.xconf (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/WEB-INF/log4j.xconf Tue Mar 8 05:41:37 2005
@@ -33,22 +33,25 @@
</layout>
</appender>
+<!--
+ To configure specific classes resp. packages, use their complete name
+ for the name attribute of the category entry.
+ (This assumes the log4j Category in the class was initialized with the class name).
+ Example: for the PublicationTask, you might use this entry:
+-->
+<!--
+ <category name="org.apache.lenya.cms.publication.task.PublicationTask" additivity="false">
+ <priority value="DEBUG"/>
+ <appender-ref ref="COCOON_DEFAULT" />
+ </category>
+-->
+
+ <!-- root. Must be specified last -->
<root>
<!-- NOTE: Available log levels: debug, info, warn, error, fatal, log -->
<priority value ="error" />
<appender-ref ref="COCOON_DEFAULT" />
</root>
-<!-- TODO: How can specific the following classes resp. packages be configured?
-
-# Lucene Indexing
-log4j.category.org.apache.lenya.lucene.index.AbstractIndexer=INFO
-log4j.category.org.apache.lenya.lucene.index.IndexInformation=INFO
-log4j.category.org.apache.lenya.lucene.index.IndexIterator=INFO
-
-# Apache JCS cache
-log4j.category.org.apache.jcs = ERROR, A1
-
--->
</log4j:configuration>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org