This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes redirect log to two different File of same class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "redirect log to two different File of same class" Watch "redirect log to two different File of same class" New topic
Author

redirect log to two different File of same class

Abhishek Mish
Greenhorn

Joined: Dec 21, 2007
Posts: 29
Hi,
My requirement is that i need to redirect logs to two different log files of same class.
I had java class which had few log statement which needs to be redirect to different log files based on the requirement
which logs needs to be logged in which log files.

Thanks,
Tanzy Akhtar
Ranch Hand

Joined: Jul 19, 2009
Posts: 110
Hi Abhishek,

You may follow the given link.

It may fulfill your needs.

Thanks,
Tanzy.


Roll with punchers, there is always tomorrow.
Techie Blog -- http://jtanzy.blogspot.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: redirect log to two different File of same class
 
Similar Threads
Createing platform independent resource files
Merging of log files
Log4J - File appender in 2 or more files for the same package.
How to create different logs for different applications using LOG4J
Logging into multiple files.