Commit ac604315 authored by Andre Freyssinet's avatar Andre Freyssinet

JORAM-357: Avoids numerous traces with connector.

May be we should overload this function in this case.
parent 7620a6e2
......@@ -971,8 +971,9 @@ public class Session implements javax.jms.Session, SessionMBean {
"Session.setTransacted transacted = " + transacted + ", autoAck = " + autoAck);
} else {
// Should throw an exception but not expected in the connector.
logger.log(BasicLevel.WARN,
"Session.setTransacted: session " + ident + " closed.");
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.WARN,
"Session.setTransacted: session " + ident + " closed.");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment