Hi All
I have changed the call stack prints I found to TRACE level, on both
Axis2 and Axiom. I also saw the code creating a RuntimeException just to
dump the stack trace, which could be replaced by
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#dumpStack()
I hope in future, we will better use the many available log levels for
the benefit of all
asankha
Eran Chinthaka wrote:
Hi Asankha,
I don't think having callstack printed on debug level is a good thing.
Of course you can set your log level to a higher one, but even at
debug level, printing call stacks might be cumbersome.
So +1 for the suggestion.
With Mettha,
Eran Chinthaka
--------------------------------------------------------------------
Health is the greatest gift; contentment is the greatest wealth;
trusting is the best relationship; nirvana is the highest joy. -
Dhammapada
On Thu, Nov 13, 2008 at 11:04 PM, Asankha C. Perera
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
Hi All
I am seeing loads and loads of the following log message, which
dumps the thread stack whenever a Parameter was added.. This
severely clutters the log files, and makes it difficult to
troubleshoot any other problems.
Although this level of debug information would be valuable to nail
down some issues local to this area, I do not think this should be
left enabled when Axis2 log level is debug.. ideally this could be
only at a TRACE level, probably when another switch is turned on
as well.
asankha
720 [main] DEBUG org.apache.axis2.description.ParameterIncludeImpl
- ==================
720 [main] DEBUG org.apache.axis2.description.ParameterIncludeImpl
- Parameter add on object
[EMAIL PROTECTED]
720 [main] DEBUG org.apache.axis2.description.ParameterIncludeImpl
- Key =hotdeployment
720 [main] DEBUG org.apache.axis2.description.ParameterIncludeImpl
- Value =true
720 [main] DEBUG org.apache.axis2.description.ParameterIncludeImpl
- Value Class = java.lang.String
720 [main] DEBUG org.apache.axis2.description.ParameterIncludeImpl
- Value Classloader = null
721 [main] DEBUG org.apache.axis2.description.ParameterIncludeImpl
- Call Stack = DEBUG_FRAME =
org.apache.axis2.util.JavaUtils.callStackToString(JavaUtils.java:564)
DEBUG_FRAME =
org.apache.axis2.description.ParameterIncludeImpl.debugParameterAdd(ParameterIncludeImpl.java:315)
DEBUG_FRAME =
org.apache.axis2.description.ParameterIncludeImpl.addParameter(ParameterIncludeImpl.java:106)
DEBUG_FRAME =
org.apache.axis2.description.AxisDescription.addParameter(AxisDescription.java:102)
DEBUG_FRAME =
org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:568)
DEBUG_FRAME =
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:101)
DEBUG_FRAME =
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:707)
...
... ## TRUNCATED ## ..
...
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com