[jboss-user] [JCA/JBoss] - Re: ManagedConnectionFactory.setLogger

iit do-not-reply at jboss.com
Fri Jan 25 09:44:59 EST 2008


And, by the way, here is a snippet from the javadocs of http://java.sun.com/j2ee/1.4/docs/api/javax/resource/spi/ManagedConnectionFactory.html#setLogWriter(java.io.PrintWriter)

When a ManagedConnectionFactory object is created the log writer is initially null, in other words, logging is disabled. Once a log writer is associated with a ManagedConnectionFactory, logging and tracing for ManagedConnectionFactory instance is enabled.

So if you set it, logging is enabled. And that's WRONG!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123495#4123495

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123495



More information about the jboss-user mailing list