This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Question: How to let different loggers write to different log files?
 
jQuery in Action, 3rd edition