You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sc...@apache.org on 2008/03/23 14:53:07 UTC

svn commit: r640207 - /webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/log4j.properties

Author: scheu
Date: Sun Mar 23 06:53:05 2008
New Revision: 640207

URL: http://svn.apache.org/viewvc?rev=640207&view=rev
Log:
Quick Change to the log4j.properties.
Added settings and comments to provide guidance on setting up "selective or minimal" debugging.

Modified:
    webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/log4j.properties

Modified: webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/log4j.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/log4j.properties?rev=640207&r1=640206&r2=640207&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/log4j.properties (original)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/log4j.properties Sun Mar 23 06:53:05 2008
@@ -61,6 +61,14 @@
 #log4j.rootCategory=DEBUG, LOGFILE
 log4j.rootCategory=ERROR, CONSOLE
 
+# Set selected logging
+# (You might want to do this to cut down on the size of the file)
+# The example below adds debug trace for StAXUtils or jaxws server to 
+# the axis2.small.log.
+# You can add this without changing the root category.
+#log4j.category.org.apache.axiom.om.util.StAXUtils=DEBUG, SMALL
+#log4j.category.org.apache.axis2.jaxws.server=DEBUG, SMALL
+
 
 # Set the enterprise logger priority to FATAL
 log4j.logger.org.apache.axis2.enterprise=FATAL
@@ -68,6 +76,7 @@
 log4j.logger.httpclient.wire.header=FATAL
 log4j.logger.org.apache.commons.httpclient=FATAL
 
+
 # CONSOLE is set to be a ConsoleAppender using a PatternLayout.
 log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
 log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
@@ -78,4 +87,11 @@
 log4j.appender.LOGFILE.File=axis2.log
 log4j.appender.LOGFILE.Append=true
 log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
-log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
\ No newline at end of file
+log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
+
+# SMALL is set to be a File appender using a PatternLayout.
+log4j.appender.SMALL=org.apache.log4j.FileAppender
+log4j.appender.SMALL.File=axis2.small.log
+log4j.appender.SMALL.Append=true
+log4j.appender.SMALL.layout=org.apache.log4j.PatternLayout
+log4j.appender.SMALL.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org