Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Open Source Projects
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Other Open Source Projects
hibernate logs to disable
Muse Ran
Ranch Hand
Posts: 317
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all
i am using log4j.xml to logging. I want to disable all hibernate related logs from in the logger. for that what i have to do (write) in log4j.xml
please advise
thanks
Tomorrow will surely be a new day!!!
Martijn Verburg
author
Posts: 3285
13
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi there,
Yes you can exclude certain APIs from being logged at certain levels by using categories, try this:
<category name="org.hibernate">
<priority value="WARN"/>
</category>
Cheers, Martijn,
Twitter
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
use of log4j.xml
my logs!, who ate my logs?
How to configure log4j.xml to log only WARN and above logs in JBOSS?
prob in JBoss and log4j
Different Appender for each level
More...