You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by lg...@apache.org on 2006/09/03 19:50:19 UTC

svn commit: r439811 - in /cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon: log4j.xconf properties/core.properties properties/dev/core.properties

Author: lgawron
Date: Sun Sep  3 10:50:18 2006
New Revision: 439811

URL: http://svn.apache.org/viewvc?view=rev&rev=439811
Log:
sync settings with cocoon-webapp

Modified:
    cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/log4j.xconf
    cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/core.properties
    cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/dev/core.properties

Modified: cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/log4j.xconf
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/log4j.xconf?view=diff&rev=439811&r1=439810&r2=439811
==============================================================================
--- cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/log4j.xconf (original)
+++ cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/log4j.xconf Sun Sep  3 10:50:18 2006
@@ -30,7 +30,7 @@
     </appender>
 
     <root>
-      <priority value="error"/>
+      <priority value="${org.apache.cocoon.log4j.loglevel}"/>
       <appender-ref ref="COCOON_DEFAULT" />
     </root>
 </log4j:configuration>

Modified: cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/core.properties
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/core.properties?view=diff&rev=439811&r1=439810&r2=439811
==============================================================================
--- cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/core.properties (original)
+++ cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/core.properties Sun Sep  3 10:50:18 2006
@@ -17,9 +17,6 @@
 # file and put it in the sub directories for the mode you are running
 # Cocoon in.
 
-# This parameter points to the main configuration file for Cocoon.
-org.apache.cocoon.configuration=/WEB-INF/cocoon/cocoon.xconf
-
 # Delay between reload checks for the configuration in ms.
 # The check is only performed if reloading is turned on!
 org.apache.cocoon.reload-delay=1000
@@ -36,31 +33,6 @@
 #org.apache.cocoon.reloading.config=yes
 #org.apache.cocoon.reloading.flow=yes
 
-# This parameter indicates the log4j configuration file.
-org.apache.cocoon.logging.configuration=WEB-INF/cocoon/log4j.xconf
-
-# This parameter indicates the category id of the logger
-# configuration used by the environment Cocoon runs in (CLI, Servlet etc.).
-org.apache.cocoon.logging.category.environment=access
-
-# This parameter indicates the category id of the logger from the
-# logging system for the Cocoon engine.
-# This logger is used for all components described in the cocoon.xconf
-# and sitemap.xmap file not having specified a logger with the
-# logger="..." attribute in the component configuration file.
-org.apache.cocoon.logging.category.cocoon=core
-
-# This parameter indicates the log level to use throughout startup of the
-# system. As soon as the logging system is set up, the setting of the
-# logging system is used instead!
-# Available levels are:
-#       DEBUG:        prints all level of log messages.
-#       INFO:         prints all level of log messages except DEBUG ones.
-#       WARN:         prints all level of log messages except DEBUG and INFO ones.
-#       ERROR:        prints all level of log messages except DEBUG, INFO and WARN ones.
-#       FATAL_ERROR:  prints only log messages of this level
-org.apache.cocoon.logging.bootstrap.loglevel=WARN
-
 # Causes all files in multipart requests to be processed.
 # Default is true but the maximum allowed size is kept small for security reasons.
 # Unsupported values will be interpreted as false.
@@ -143,3 +115,8 @@
 # Set form encoding. This will be the character set used to decode request
 # parameters. If not set the ISO-8859-1 encoding will be assumed.
 org.apache.cocoon.formencoding=ISO-8859-1
+
+# If you're using the Avalon bridge and the Log4J logger (which is the default
+# logger for the Avalon bridge), then you can define the loglevel with this
+# property.
+org.apache.cocoon.log4j.loglevel=error
\ No newline at end of file

Modified: cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/dev/core.properties
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/dev/core.properties?view=diff&rev=439811&r1=439810&r2=439811
==============================================================================
--- cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/dev/core.properties (original)
+++ cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon/properties/dev/core.properties Sun Sep  3 10:50:18 2006
@@ -14,7 +14,7 @@
 #
 
 # Turn on debug logging
-org.apache.cocoon.override.loglevel=DEBUG
+org.apache.cocoon.log4j.loglevel=debug
 
 # Turn on reloading for all parts
 org.apache.cocoon.reloading=yes