log4j: Log output of a specific class to a specific appender
- by gubrutz
I use log4j and would like to route the output of certain Loggers to specific files.
I already have multiple appenders in place. Now, to make debugging easier, I want to tell log4j that the output generated by a specific class (e.g. foo.bar.Baz) should be written to a specific log file.
Can this be done?