commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r488391 - in /jakarta/commons/proper/scxml/trunk: RELEASE-NOTES.txt src/main/java/org/apache/commons/scxml/SCXMLExecutor.java xdocs/changes.xml
Date Mon, 18 Dec 2006 18:51:18 GMT
Author: rahul
Date: Mon Dec 18 10:51:17 2006
New Revision: 488391

URL: http://svn.apache.org/viewvc?view=rev&rev=488391
Log:
SCXMLExecutor#logState() logs at 'info' level, a bit too severe.

Modified:
    jakarta/commons/proper/scxml/trunk/RELEASE-NOTES.txt
    jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
    jakarta/commons/proper/scxml/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/scxml/trunk/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/RELEASE-NOTES.txt?view=diff&rev=488391&r1=488390&r2=488391
==============================================================================
--- jakarta/commons/proper/scxml/trunk/RELEASE-NOTES.txt (original)
+++ jakarta/commons/proper/scxml/trunk/RELEASE-NOTES.txt Mon Dec 18 10:51:17 2006
@@ -44,7 +44,8 @@
 
 OTHER CHANGES:
 
-
+ o SCXMLExecutor logs state at a lower severity (changed from log level
+   'info' to log level 'debug')
 
 ABOUT COMMONS SCXML:
 

Modified: jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java?view=diff&rev=488391&r1=488390&r2=488391
==============================================================================
--- jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
(original)
+++ jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
Mon Dec 18 10:51:17 2006
@@ -514,7 +514,7 @@
      * Log the current set of active states.
      */
     private void logState() {
-        if (log.isInfoEnabled()) {
+        if (log.isDebugEnabled()) {
             Iterator si = currentStatus.getStates().iterator();
             StringBuffer sb = new StringBuffer("Current States: [");
             while (si.hasNext()) {
@@ -525,7 +525,7 @@
                 }
             }
             sb.append(']');
-            log.info(sb.toString());
+            log.debug(sb.toString());
         }
     }
 

Modified: jakarta/commons/proper/scxml/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/xdocs/changes.xml?view=diff&rev=488391&r1=488390&r2=488391
==============================================================================
--- jakarta/commons/proper/scxml/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/scxml/trunk/xdocs/changes.xml Mon Dec 18 10:51:17 2006
@@ -33,6 +33,16 @@
       </ul>
     </section>
 
+    <release version="0.7" date="In SVN"
+     description="Latest unreleased code">
+
+      <action dev="rahul" type="fix">
+       [12-18-2006] SCXMLExecutor#logState() now uses debug level to reduce noise
+       at console.
+      </action>
+
+    </release>
+
     <release version="0.6" date="December 2006"
      description="Latest release">
 



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


Mime
View raw message