wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
Merging of log files
Logging into multiple files.
Log4J - File appender in 2 or more files for the same package.
How to create different logs for different applications using LOG4J
Createing platform independent resource files