A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Other Open Source Projects
hibernate logs to disable
Joined: Sep 17, 2008
Nov 12, 2008 13:50:00
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
Tomorrow will surely be a new day!!!
Joined: Jun 24, 2003
Nov 13, 2008 04:18:00
Yes you can exclude certain APIs from being logged at certain levels by using categories, try this:
Cheers, Martijn -
The Well-Grounded Java Developer book!
I agree. Here's the link:
subject: hibernate logs to disable
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014