From: Juergen H. <jho...@us...> - 2008-10-15 12:01:41
|
Update of /cvsroot/springframework/spring/src/org/springframework/jms/connection In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9902/src/org/springframework/jms/connection Modified Files: CachingConnectionFactory.java Log Message: regular returning of cached resources gets logged at trace level only Index: CachingConnectionFactory.java =================================================================== RCS file: /cvsroot/springframework/spring/src/org/springframework/jms/connection/CachingConnectionFactory.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** CachingConnectionFactory.java 30 Jul 2008 21:26:18 -0000 1.7 --- CachingConnectionFactory.java 15 Oct 2008 12:01:29 -0000 1.8 *************** *** 219,224 **** } if (session != null) { ! if (logger.isDebugEnabled()) { ! logger.debug("Found cached JMS Session for mode " + mode + ": " + (session instanceof SessionProxy ? ((SessionProxy) session).getTargetSession() : session)); } --- 219,224 ---- } if (session != null) { ! if (logger.isTraceEnabled()) { ! logger.trace("Found cached JMS Session for mode " + mode + ": " + (session instanceof SessionProxy ? ((SessionProxy) session).getTargetSession() : session)); } *************** *** 340,345 **** MessageProducer producer = (MessageProducer) this.cachedProducers.get(dest); if (producer != null) { ! if (logger.isDebugEnabled()) { ! logger.debug("Found cached JMS MessageProducer for destination [" + dest + "]: " + producer); } } --- 340,345 ---- MessageProducer producer = (MessageProducer) this.cachedProducers.get(dest); if (producer != null) { ! if (logger.isTraceEnabled()) { ! logger.trace("Found cached JMS MessageProducer for destination [" + dest + "]: " + producer); } } *************** *** 360,365 **** MessageConsumer consumer = (MessageConsumer) this.cachedConsumers.get(cacheKey); if (consumer != null) { ! if (logger.isDebugEnabled()) { ! logger.debug("Found cached JMS MessageConsumer for destination [" + dest + "]: " + consumer); } } --- 360,365 ---- MessageConsumer consumer = (MessageConsumer) this.cachedConsumers.get(cacheKey); if (consumer != null) { ! if (logger.isTraceEnabled()) { ! logger.trace("Found cached JMS MessageConsumer for destination [" + dest + "]: " + consumer); } } *************** *** 398,403 **** // Allow for multiple close calls... if (!this.sessionList.contains(proxy)) { ! if (logger.isDebugEnabled()) { ! logger.debug("Returning cached Session: " + this.target); } this.sessionList.addLast(proxy); --- 398,403 ---- // Allow for multiple close calls... if (!this.sessionList.contains(proxy)) { ! if (logger.isTraceEnabled()) { ! logger.trace("Returning cached Session: " + this.target); } this.sessionList.addLast(proxy); |