How can I write log4j.proerties to output two different log files for one
category when each threshold is different?
In other words, I want two output:
- error.log for output errors only
- debug.log for output all logs
The Java code is something like this:
Logger log =
Can a class or group of classes be assigned to appenders independently from other
classes?
I'd like to implement a message driven bean in Jboss and I'd like the output of that
bean to go to a log file other then the standard application server log.
Thanks,
Mark
--
To unsubscribe, e-mail:
It all depends on how you name your loggers. The common way to name your
loggers is, of course,
private static final Logger logger = Logger.getLogger(MyClass.class.getName());
this would end up being called something like:
org.myorganization.mypackage.mysubpackage.MyClass
to have every