Author: cwiklik
Date: Thu Jul 26 14:10:45 2012
New Revision: 1366006

URL: http://svn.apache.org/viewvc?rev=1366006&view=rev
Log:
UIMA-2443 Reduce log level on a message logged before service terminates via 
System.exit()

Modified:
    
uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java
    
uima/uima-as/trunk/uimaj-as-core/src/main/resources/uimaee_messages.properties

Modified: 
uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java
URL: 
http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java?rev=1366006&r1=1366005&r2=1366006&view=diff
==============================================================================
--- 
uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java
 (original)
+++ 
uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java
 Thu Jul 26 14:10:45 2012
@@ -1189,9 +1189,9 @@ public abstract class BaseAnalysisEngine
             // 
**********************************************************************
             // 
**********************************************************************
             // Per discussion with Eddie on 4/11/12, exit process via 
System.exit() 
-            UIMAFramework.getLogger(CLASS_NAME).logrb(Level.SEVERE, 
CLASS_NAME.getName(),
+            UIMAFramework.getLogger(CLASS_NAME).logrb(Level.INFO, 
CLASS_NAME.getName(),
                     "handleAction", UIMAEE_Constants.JMS_LOG_RESOURCE_BUNDLE,
-                    "UIMAEE_killing_process__SEVERE", new Object[] { 
getComponentName() });
+                    "UIMAEE_killing_process__INFO", new Object[] { 
getComponentName() });
             System.exit(1);
             // 
**********************************************************************
             // 
**********************************************************************

Modified: 
uima/uima-as/trunk/uimaj-as-core/src/main/resources/uimaee_messages.properties
URL: 
http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-core/src/main/resources/uimaee_messages.properties?rev=1366006&r1=1366005&r2=1366006&view=diff
==============================================================================
--- 
uima/uima-as/trunk/uimaj-as-core/src/main/resources/uimaee_messages.properties 
(original)
+++ 
uima/uima-as/trunk/uimaj-as-core/src/main/resources/uimaee_messages.properties 
Thu Jul 26 14:10:45 2012
@@ -55,7 +55,7 @@ UIMAEE_terminating_service__INFO = Servi
 UIMAEE_primitive_ctrl_init_info__CONFIG - Initializing Async Primitive 
Service. Number of Worker Threads: {0}
 UIMAEE_terminating_thread__INFO = Terminatig Worker Thread in Async Primitive 
Service: {0}
 UIMAEE_worker_threads_done__INFO = All Worker Threads Terminated in Async 
Primitive Service: {0}
-UIMAEE_killing_process__SEVERE = 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\t<<<<<<<<<<<<<< Service 
{0} Killed With System.exit(0). The service's deployment descriptor error 
handling configured with thresholdAction=terminate on process error  
>>>>>>>>>>>>>>>>>>>>>>>>>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+UIMAEE_killing_process__INFO = \n\t Service {0} Killed With System.exit(0). 
The service's deployment descriptor error handling configured with 
thresholdAction=terminate on process error.
 UIMAEE_rceived_work__FINE = Worker Thread: {0} Received Work. Cas ReferenceId: 
{1}
 UIMAEE_cas_notin_cache__WARNING = Worker Thread: {0} Cas ReferenceId: {1} Not 
In Cache.
 UIMAEE_produced_new_cas__FINE = Worker Thread: {0} Controller: {1} Produced 
New Cas: {2} From Input Cas: {3}


Reply via email to