synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject svn commit: r602793 - /webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java
Date Mon, 10 Dec 2007 07:00:55 GMT
Author: ruwan
Date: Sun Dec  9 23:00:47 2007
New Revision: 602793

URL: http://svn.apache.org/viewvc?rev=602793&view=rev
Log:
changed and put some differentiation to the conflicting logs on the debug log for sequence
with key and sequence with name

Modified:
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java?rev=602793&r1=602792&r2=602793&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java
(original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java
Sun Dec  9 23:00:47 2007
@@ -73,8 +73,8 @@
         boolean traceOrDebugOn = isTraceOrDebugOn(traceOn);
 
         if (traceOrDebugOn) {
-            traceOrDebug(traceOn, "Start : Sequence <"
-                + (name == null ? (key == null ? "anonymous" : key) : name) + ">");
+            traceOrDebug(traceOn, "Start : Sequence "
+                + (name == null ? (key == null ? "<anonymous" : "key=<" + key) : "<"
+ name) + ">");
 
             if (traceOn && trace.isTraceEnabled()) {
                 trace.trace("Message : " + synCtx.getEnvelope());
@@ -165,13 +165,13 @@
 
             } else {
                 if (traceOrDebugOn) {
-                    traceOrDebug(traceOn, "Executing sequence named " + key);
+                    traceOrDebug(traceOn, "Executing with key " + key);
                 }
 
                 boolean result = m.mediate(synCtx);
 
                 if (traceOrDebugOn) {
-                    traceOrDebug(traceOn, "End : Sequence <" + key + ">");
+                    traceOrDebug(traceOn, "End : Sequence key=<" + key + ">");
                 }
                 return result;
             }



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


Mime
View raw message