title: JBOSS 6: [CachedConnectionManager] Closing a connection for you. Please close them yourself
body: <p>I am getting an exception every time a transaction gets over in JBOSS 6. I understand that I am not closing the connection manually, but I want to avoid it by changing the logger mode. For achieving this I added the following lines </p>
  
  <pre><code>&lt;logger category="org.jboss.resource.connectionmanager.CachedConnectionManager"&gt;
        &lt;level name="FATAL"/&gt;
     &lt;/logger&gt;
  </code></pre>
  
  <p>in <strong>jboss-logging.xml</strong>  under  jboss-6.1.0_Final/server/default/deploy. 
  The problem is it's not reflecting on the console. The root logger is in INFO mode.
   The exact stack trace is</p>
  
  <pre><code>INFO  [CachedConnectionManager] Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@d0249e: java.lang.Throwable: STACKTRACE
      at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:278) [:6.1.0.Final]
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:524) [:6.1.0.Final]
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941) [:6.1.0.Final]
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89) [:6.1.0.Final]
      at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92) [:3.6.6.Final]
      at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) [:3.6.6.Final]
      at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) [:3.6.6.Final]
      at org.hibernate.jdbc.BorrowedConnectionProxy.invoke(BorrowedConnectionProxy.java:74) [:3.6.6.Final]
  </code></pre>
  
  <p>I would appreciate if anyone can let me know documentation on jboss-logging.xml . We have migrated from Jobss 4 which had jog4j.xml under conf dir . Are both these files are similar  ?</p>