I have done below all possible changes to avoid Hibernate and JDBC logging to logger ,but still i am getting below logs in my JBOSS application .

I do not want to log these Hibernate and JDBC logs to logger .

My changes in **log4j.properties** : 

1.log4j.logger.org.hibernate=WARNING

2.log4j.logger.org.hibernate.SQL=OFF

log4j.logger.org.springframework.transaction=DEBUG
log4j.logger.org.springframework.orm.hibernate4.HibernateTransactionManager=DEBUG

**Jave Code Changes**

```
  1. org.jboss.logging.Logger logger = org.jboss.logging.Logger.getLogger("org.hibernate");
        java.util.logging.Logger.getLogger("org.hibernate").setLevel(java.util.logging.Level.OFF);

    2. java.util.logging.Logger.getLogger("org.hibernate").setLevel(Level.OFF);

```

Logger Output :

Closing Hibernate Session [SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];ActionQueue[insertions=[] updates=[] deletions=[] collectionCreations=[] collectionRemovals=[] collectionUpdates=[]])] after transaction
re-enabling autocommit
Releasing JDBC connection
Released JDBC connection
HHH000163: Logical connection releasing its physical connection
Released JDBC connection