Hi, I was using Hibernate 4.3.1 Final version and i want to use Log4J for Logging, When i use Log4J for different logging levels, its not taking and it seems using some simple logger to do all the kernel debug logs. How do i eliminate these and direct to use my Log4J?
I have directly created the project under eclipse IDE, and did not use any Maven- i do not have the pom.xml also to do any dependency.
how do i update in eclipse project to use the Log4J. I tried adding slf4j.api-1.6.1.jar and slf4j-log4j12-1.7.6.jar in the classpath to see if this will direct to use my Log4J wchich is in classpath, but its not.
Here is the sample logs i see. It logs thousands of lines.
2556 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Resolving associations for [com.ejgallo.distributor.claims.model.ClaimCategory#4] 2556 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Resolving associations for [com.ejgallo.distributor.claims.model.ClaimCategory#4] 2556 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Done materializing entity [com.ejgallo.distributor.claims.model.ClaimCategory#4] 2556 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Done materializing entity [com.ejgallo.distributor.claims.model.ClaimCategory#4] 2556 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Resolving associations for [com.ejgallo.distributor.claims.model.ClaimCategory#1] 2556 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Resolving associations for [com.ejgallo.distributor.claims.model.ClaimCategory#1] 2556 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Done materializing entity [com.ejgallo.distributor.claims.model.ClaimCategory#1] 2556 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.hibernate.engine.internal.TwoPhaseLoad
|