Author: jleroux
Date: Sun Jul 9 16:37:10 2017
New Revision: 1801380
URL:
http://svn.apache.org/viewvc?rev=1801380&view=revLog:
Improved: ServiceSemaphore.waitOrFail() remove redundant logging
(OFBIZ-9399)
Removes the redundant logging done in ServiceSemaphore.waitOrFail() since the
error will be logged by the ServiceEngine anyway.
Thanks: Martin Becker
Modified:
ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/semaphore/ServiceSemaphore.java
Modified: ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/semaphore/ServiceSemaphore.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/semaphore/ServiceSemaphore.java?rev=1801380&r1=1801379&r2=1801380&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/semaphore/ServiceSemaphore.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/semaphore/ServiceSemaphore.java Sun Jul 9 16:37:10 2017
@@ -106,7 +106,6 @@ public class ServiceSemaphore {
if (timedOut) {
double waitTimeSec = ((System.currentTimeMillis() - lockTime.getTime()) / 1000.0);
String errMsg = "Service [" + model.name + "] with wait semaphore exceeded wait timeout, waited [" + waitTimeSec + "], wait started at " + lockTime;
- Debug.logWarning(errMsg, module);
throw new SemaphoreWaitException(errMsg);
}
} else if (SEMAPHORE_MODE_NONE == mode) {