You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2014/02/19 19:14:07 UTC

svn commit: r1569864 - in /uima/uima-as/trunk: uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/JmsOutputChannel.java uimaj-as-jms/src/main/resources/jms_adapter_messages.properties

Author: cwiklik
Date: Wed Feb 19 18:14:07 2014
New Revision: 1569864

URL: http://svn.apache.org/r1569864
Log:
UIMA-3637 changed log level on msgs from Session Reaper to FINE

Modified:
    uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/JmsOutputChannel.java
    uima/uima-as/trunk/uimaj-as-jms/src/main/resources/jms_adapter_messages.properties

Modified: uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/JmsOutputChannel.java
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/JmsOutputChannel.java?rev=1569864&r1=1569863&r2=1569864&view=diff
==============================================================================
--- uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/JmsOutputChannel.java (original)
+++ uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/JmsOutputChannel.java Wed Feb 19 18:14:07 2014
@@ -1957,14 +1957,14 @@ public class JmsOutputChannel implements
             public void run() {
               //  System.out.println("SessionReaper Thread Woke Up After:"+inactivityTimeout*60*1000+" Millis");
                 long inactivityThreshold = inactivityTimeout*60*1000;  // normalize into millis
-                if ( doLog && UIMAFramework.getLogger(CLASS_NAME).isLoggable(Level.INFO)) {
+                if ( doLog && UIMAFramework.getLogger(CLASS_NAME).isLoggable(Level.FINE)) {
                   doLog = false;
                   UIMAFramework.getLogger(CLASS_NAME).logrb(
-                          Level.INFO,
+                          Level.FINE,
                           CLASS_NAME.getName(),
                           "startSessionReaperTimer.run",
                           JmsConstants.JMS_LOG_RESOURCE_BUNDLE,
-                          "UIMAJMS_inactivity_timer_expired__INFO",
+                          "UIMAJMS_inactivity_timer_expired__FINE",
                           new Object[] { Thread.currentThread().getId(), componentName,
                               inactivityTimeout, brokerDestinations.getBrokerURL() });
                 }

Modified: uima/uima-as/trunk/uimaj-as-jms/src/main/resources/jms_adapter_messages.properties
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-jms/src/main/resources/jms_adapter_messages.properties?rev=1569864&r1=1569863&r2=1569864&view=diff
==============================================================================
--- uima/uima-as/trunk/uimaj-as-jms/src/main/resources/jms_adapter_messages.properties (original)
+++ uima/uima-as/trunk/uimaj-as-jms/src/main/resources/jms_adapter_messages.properties Wed Feb 19 18:14:07 2014
@@ -232,7 +232,7 @@ UIMAJMS_dispatch_delayed_cas__INFO=UIMA 
 UIMAJMS_process_timeout_handler3__WARNING=UIMA AS Handling CAS Timeout. CAS hashcode:{0}. Invalid ThreadMonitor (NULL) for Thread ID:{1}
 UIMAJMS_process_exception_handler5__WARNING=UIMA AS Handling Exception in sendAndReceive(). CAS hashcode:{0}. ThreadMonitor Released Semaphore For Thread ID:{1}
 UIMAJMS_invalid_destination__INFO=UIMA AS Service: {0} ignoring request with deleted reply queue: {1}
-UIMAJMS_inactivity_timer_expired__INFO=Thread: {0} Component: {1} Jms Session Inactivity Timeout: {2} Minutes on Broker: {3}
+UIMAJMS_inactivity_timer_expired__FINE=Thread: {0} Component: {1} Jms Session Inactivity Timeout: {2} Minutes on Broker: {3}
 UIMAJMS_removed_expired_session__INFO=Thread:{0} Component: {1} Closing Session Due to Inactivity: {2} for Destination: {3} Broker: {4}
 UIMAJMS_start_inactivity_monitor__INFO=Component: {0} Starting JMS Inactivity Monitor on Broker: {1} Max Inactivity Timeout: {2}
 UIMAJMS_discard_msg__INFO=Component: {0} Message From: {1} IP: {2} Message Type: {3} Command: {4} CasId: {5}