The log4j.properties used by Axis2 includes those 4 values set to FATAL, so I'm trying to match our log output to what the Axis2 community is used to seeing and ships today.

Also, adding these values into our file allows users to easily see how to turn on debug info for a component (Axis and Axis2 in this case) without having to dig through the component source or pinging our user mailing list for the info.....


-Donald

Jason Dillon wrote:
Why?

I don't think its a good idea to keep growing the list of logger levels in our log4j configuration file like this. For one or two its okay, but probably not for so many. I mean, do these libraries really spit out so much information that we have to limit them all to FATAL?

The default output level is currently set to WARN unless the -v or -vv flag is passed to the server, which will set to DEBUG and TRACE respectively. With logger levels set explicitly , then adding -v or -vv will have zero affect. And the way we currently configure these levels affect both the console and log files.

I think that changing these levels to FATAL is harmful and should be reverted... unless there is a really good reason for it... which is what I'm asking right now. What is the reason we need to have these explicit logger levels configured here?

--jason


On Apr 4, 2007, at 1:05 PM, [EMAIL PROTECTED] wrote:

Author: dwoods
Date: Wed Apr  4 13:05:30 2007
New Revision: 525594

URL: http://svn.apache.org/viewvc?view=rev&rev=525594
Log:
GERONIMO-3064 Add axis2 log4j configure properties so that people can turn on axis2 logs in geronimo. Thanks Lin. I also added the Axis v1 log categories.

Modified:
geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties

Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties?view=diff&rev=525594&r1=525593&r2=525594 ============================================================================== --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties (original) +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties Wed Apr 4 13:05:30 2007
@@ -115,10 +115,22 @@
 # Prints various stuff during startup
 log4j.logger.org.apache.juddi.registry.RegistryServlet=WARN

-
 # Prints various stuff when the portal is used
 log4j.logger.org.apache.pluto.portalImpl.Servlet=WARN
+
 # Prints stuff for AJAX calls
 log4j.logger.uk.ltd.getahead.dwr.impl.DefaultConfiguration=WARN
 log4j.logger.uk.ltd.getahead.dwr.impl.ExecuteQuery=WARN
 log4j.logger.uk.ltd.getahead.dwr.util.Logger=WARN
+
+# Axis log output
+log4j.logger.org.apache.axis.enterprise=FATAL
+log4j.logger.org.apache.axis.TIME=OFF
+log4j.logger.org.apache.axis.EXCEPTIONS=FATAL
+
+# Axis2 log output
+log4j.logger.org.apache.axis2.enterprise=FATAL
+log4j.logger.de.hunsicker.jalopy.io=FATAL
+log4j.logger.httpclient.wire.header=FATAL
+log4j.logger.org.apache.commons.httpclient=FATAL
+





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to