You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2014/02/05 12:54:49 UTC

svn commit: r1564715 - /uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java

Author: degenaro
Date: Wed Feb  5 11:54:49 2014
New Revision: 1564715

URL: http://svn.apache.org/r1564715
Log:
UIMA-3596 DUCC Orchestrator ProcessAccounting is too verbose

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java?rev=1564715&r1=1564714&r2=1564715&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java Wed Feb  5 11:54:49 2014
@@ -139,7 +139,7 @@ public class ProcessAccounting {
 				logger.info(methodName, jobId, processId, messages.fetch("removed"));
 			}
 			else {
-				logger.info(methodName, null, processId, messages.fetch("not found"));
+				logger.warn(methodName, null, processId, messages.fetch("not found"));
 			}
 		}
 		long t1 = System.currentTimeMillis();
@@ -316,12 +316,12 @@ public class ProcessAccounting {
 				millis = process.getTimeWindowInit().getStart();
 				if(millis != null) {
 					ts = TimeStamp.simpleFormat(millis);
-					logger.info(methodName, jobId, processId, messages.fetchLabel("initialization start")+ts);
+					logger.trace(methodName, jobId, processId, messages.fetchLabel("initialization start")+ts);
 				}
 				millis = process.getTimeWindowInit().getEnd();
 				if(millis != null) {
 					ts = TimeStamp.simpleFormat(millis);
-					logger.info(methodName, jobId, processId, messages.fetchLabel("initialization end")+ts);
+					logger.trace(methodName, jobId, processId, messages.fetchLabel("initialization end")+ts);
 				}
 			}
 		}
@@ -364,12 +364,12 @@ public class ProcessAccounting {
 				millis = process.getTimeWindowRun().getStart();
 				if(millis != null) {
 					ts = TimeStamp.simpleFormat(millis);
-					logger.info(methodName, jobId, processId, messages.fetchLabel("run start")+ts);
+					logger.trace(methodName, jobId, processId, messages.fetchLabel("run start")+ts);
 				}
 				millis = process.getTimeWindowRun().getEnd();
 				if(millis != null) {
 					ts = TimeStamp.simpleFormat(millis);
-					logger.info(methodName, jobId, processId, messages.fetchLabel("run end")+ts);
+					logger.trace(methodName, jobId, processId, messages.fetchLabel("run end")+ts);
 				}
 			}
 		}
@@ -448,7 +448,7 @@ public class ProcessAccounting {
 			//	break;
 			default:
 				process.advanceProcessState(inventoryProcess.getProcessState());
-				logger.info(methodName, job.getDuccId(), process.getDuccId(), messages.fetchLabel("process state")+process.getProcessState());
+				logger.trace(methodName, job.getDuccId(), process.getDuccId(), messages.fetchLabel("process state")+process.getProcessState());
 				if ( inventoryProcess.getProcessJmxUrl() != null && process.getProcessJmxUrl() == null) {
 					process.setProcessJmxUrl(inventoryProcess.getProcessJmxUrl());
 				}