aspose file tools
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
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Question: How to let different loggers write to different log files?
 
Similar Threads
NX: Logging using FileHandler
Log4j - How to direct log messages to their respective log message file
Seperate configuration file for seperate logger in log4j
log4j category
Customize Logger Problem