A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Customer Requirements for Developers
this week in the
Other Open Source Projects
Suppress warn log for a single class
Joined: Sep 04, 2008
Feb 11, 2009 07:39:27
Let i am having four classes, class_1, class_2, class_3 and class_4. and
class_2, class_3 and class_4 extends class_1.
For all classes i have common appender file log_warn.log and log_error.log.
I have properly configured in log4j.xml so that only warn messages
will go into log_warn.log and error messages will go into log_error.log.
Now i want to suppress only warn messages for class_4.
How can we do that?
subject: Suppress warn log for a single class
WARN level is not working
Log4j - How to direct log messages to their respective log message file
can some one say what is wrong with my log4j.properties?
Struts Validator Messages Property
Jboss Configuration Property
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015