Author: jonesde
Date: Sat Aug 25 21:32:02 2007
New Revision: 569763

URL: http://svn.apache.org/viewvc?rev=569763&view=rev
Log:
Small improvement for the messages when an ECA rule evals to true or false

Modified:
    ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java

Modified: 
ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java?rev=569763&r1=569762&r2=569763&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java 
(original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java 
Sat Aug 25 21:32:02 2007
@@ -109,11 +109,11 @@
         while (c.hasNext()) {
             ServiceEcaCondition ec = (ServiceEcaCondition) c.next();
             if (!ec.eval(serviceName, dctx, context)) {
-                if (Debug.infoOn()) Debug.logInfo("Got false for condition: " 
+ ec, module);
+                if (Debug.infoOn()) Debug.logInfo("For Service ECA [" + 
this.serviceName + "] on [" + this.eventName + "] got false for condition: " + 
ec, module);
                 allCondTrue = false;
                 break;
             } else {
-                if (Debug.verboseOn()) Debug.logVerbose("Got true for 
condition: " + ec, module);
+                if (Debug.verboseOn()) Debug.logVerbose("For Service ECA [" + 
this.serviceName + "] on [" + this.eventName + "] got true for condition: " + 
ec, module);
             }
         }
 


Reply via email to