Joined: Mon Dec 11, 2006 5:30 am Posts: 8
|
What should we do to disable trace level logging in case of Hibernate when we are using log4j.xml for logging purposes because it consumes a lot of time in case of calling function log() of org.hibernate.type.Nullabletype class.
We have tried different options that are as follows:-
1) Set org.apache.log4j.Logger.getLogger("net.sf.hibernate").setLevel(org.apache.log4j.Level.FATAL)
2) Set <category name="log4j.logger.org.hibernate.type"><priority value="FATAL"/></category>
3) Set <category name="log4j.logger.net.sf.hibernate "><priority value="FATAL"/></category>
Regards,
JAmunt
|
|