You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2011/02/08 23:57:30 UTC

svn commit: r1068668 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java

Author: jonesde
Date: Tue Feb  8 22:57:30 2011
New Revision: 1068668

URL: http://svn.apache.org/viewvc?rev=1068668&view=rev
Log:
Soften exception log on error saving ServerHit, happens often with MySQL and no need for such a bug chunk of text in the log

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java?rev=1068668&r1=1068667&r2=1068668&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java Tue Feb  8 22:57:30 2011
@@ -217,7 +217,7 @@ public class ServerHitBin {
             try {
                 bin.saveHit(request, startTime, runningTime, userLogin);
             } catch (GenericEntityException e) {
-                Debug.logWarning(e, "Error saving ServerHit: " + e.toString(), module);
+                Debug.logWarning("Error saving ServerHit: " + e.toString(), module);
             }
         }