You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by pt...@apache.org on 2008/03/06 22:23:58 UTC

svn commit: r634418 - in /jakarta/cactus/trunk/samples/servlet/src/main/resources: conf/logging_client.properties conf/logging_server.properties logging_client.properties.sample logging_server.properties.sample

Author: ptahchiev
Date: Thu Mar  6 13:23:46 2008
New Revision: 634418

URL: http://svn.apache.org/viewvc?rev=634418&view=rev
Log:
property files changed location.

Added:
    jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_client.properties
    jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_server.properties
Removed:
    jakarta/cactus/trunk/samples/servlet/src/main/resources/logging_client.properties.sample
    jakarta/cactus/trunk/samples/servlet/src/main/resources/logging_server.properties.sample

Added: jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_client.properties
URL: http://svn.apache.org/viewvc/jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_client.properties?rev=634418&view=auto
==============================================================================
--- jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_client.properties (added)
+++ jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_client.properties Thu Mar  6 13:23:46 2008
@@ -0,0 +1,23 @@
+# Properties for configuring Log4j
+# This is the configuring for logging on the JUnit side (i.e. the client side)
+
+log4j.appender.cactus = org.apache.log4j.FileAppender
+log4j.appender.cactus.File = cactus_client.log
+log4j.appender.cactus.Append = false
+log4j.appender.cactus.layout = org.apache.log4j.PatternLayout
+log4j.appender.cactus.layout.ConversionPattern = %d{ABSOLUTE} [%t] %-5p %-30.30c{2} %x - %m %n
+
+# Any application log which uses Log4J will be logged to the Cactus log file
+log4j.rootCategory=DEBUG, cactus
+
+# By default we don't log at the DEBUG level for Cactus log, in order not to generate too
+# many logs. However, should a problem arise and logs need to be sent to the Cactus dev team,
+# then we will ask you to change this to DEBUG.
+log4j.category.org.apache.cactus = WARN, cactus
+log4j.additivity.org.apache.cactus=false
+
+# Don't show debug logs for HttpClient
+log4j.category.org.apache.commons.httpclient = WARN, cactus
+log4j.additivity.org.apache.commons.httpclient=false
+log4j.category.httpclient = WARN, cactus
+log4j.additivity.httpclient=false
\ No newline at end of file

Added: jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_server.properties
URL: http://svn.apache.org/viewvc/jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_server.properties?rev=634418&view=auto
==============================================================================
--- jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_server.properties (added)
+++ jakarta/cactus/trunk/samples/servlet/src/main/resources/conf/logging_server.properties Thu Mar  6 13:23:46 2008
@@ -0,0 +1,17 @@
+# Properties for configuring Log4j
+# This is the configuring for logging on the server side
+
+log4j.appender.cactus = org.apache.log4j.FileAppender
+log4j.appender.cactus.File = cactus_server.log
+log4j.appender.cactus.Append = false
+log4j.appender.cactus.layout = org.apache.log4j.PatternLayout
+log4j.appender.cactus.layout.ConversionPattern = %d{ABSOLUTE} [%t] %-5p %-30.30c{2} %x - %m %n
+
+# Any application log which uses Log4J will be logged to the Cactus log file
+log4j.rootCategory=DEBUG, cactus
+
+# By default we don't log at the DEBUG level for Cactus log, in order not to generate too
+# many logs. However, should a problem arise and logs need to be sent to the Cactus dev team,
+# then we will ask you to change this to DEBUG.
+log4j.category.org.apache.cactus = WARN, cactus
+log4j.additivity.org.apache.cactus=false
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org