wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Question: How to let different loggers write to different log files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Question: How to let different loggers write to different log files?" Watch "Question: How to let different loggers write to different log files?" New topic
Author

Question: How to let different loggers write to different log files?

Yongping Wang
Ranch Hand

Joined: May 15, 2001
Posts: 40
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question: How to let different loggers write to different log files?