Question: How to let different loggers write to different log files?
posted 13 years ago
Say, I have two different loggers in a class, A and B. Now I like to see any log message generated from A is written into a.log and any message from B goes to b.log. It seems the log4j doesn't support it (via configuration file-log4j.properties) Any comments? Thanks Y.W