You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sc...@apache.org on 2008/05/05 22:35:17 UTC
svn commit: r653589 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java
Author: scheu
Date: Mon May 5 13:35:16 2008
New Revision: 653589
URL: http://svn.apache.org/viewvc?rev=653589&view=rev
Log:
Changed the isDebugEnabled flag from a method variable to a static field.
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java?rev=653589&r1=653588&r2=653589&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java Mon May 5 13:35:16 2008
@@ -45,6 +45,7 @@
* Field log
*/
private static final Log log = LogFactory.getLog(Phase.class);
+ private static boolean isDebugEnabled = LoggingControl.debugLoggingAllowed && log.isDebugEnabled();
/**
* Field handlers
@@ -287,7 +288,7 @@
* @throws org.apache.axis2.AxisFault
*/
public final InvocationResponse invoke(MessageContext msgctx) throws AxisFault {
- boolean isDebugEnabled = LoggingControl.debugLoggingAllowed && log.isDebugEnabled();
+
if (isDebugEnabled) {
log.debug(msgctx.getLogIDString() + " Checking pre-condition for Phase \"" + phaseName +
"\"");
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org