KB Article #176506
Reduce the number of INFO messages for the JMS Exchange Point in Interchange
Problem
After Interchange 5.10.0_SP13 (also affected are 5.10.x, 5.11.x and 5.12.x), the JMS transport will display in the te logs files the below messages for each message picked-up/sent.
014-06-04 09:26:29,310 - INFO [MessageDispatchThread for JMS queue B2B 27154732] (JmsMessageListenerImpl.primRun:352) - The transport message has been dispatched, com.ibm.jms.JMSTextMessage from JMS queue B2BJMS_UniqueMessageID=ID:414d5120515441423242553131413120537f1cd0200cf5bc;QU:B2B;file:/prj/b2b/var/jndi
2014-06-04 09:26:30,072 - INFO [Worker74-108] (JmsClientImpl.sendMessage:359) - Sent 1475-byte message to JMS queue queue:///B2B
In high JMS traffic situations the te logs will quickly fill up.
Resolution
To disable the INFO messages from appearing in the log files open the file <Interchange>/conf/log4j.properties and add/change the following lines to:
log4j.category.com.cyclonecommerce.collaboration.transport.jms=warn
log4j.category.com.cyclonecommerce.tradingengine.transport.jms=warn
In some situations (depending on the jms provider) you might see a line similar to:
2014-09-09 16:20:51,936 - INFO [Worker37-1] (AnonymousConsumerDriver.consume:110) - Consumed a file from useJndi=true, queueUtil=null, jndiUrl=file:/share/IBM_jms/jndi, jndiFactory=com.sun.jndi.fscontext.RefFSContextFactory, jmsQueue=QIN, jmsQueueConnectionFactory=MYQCF, UseTransactedQueue=false in exchange IntJMSPickup
if that happens then also add the below line in the log4j.properties:
log4j.category.com.cyclonecommerce.tradingengine.transport.system.consumption.active.AnonymousConsumerDriver=warn