This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
How to create different logs for different applications using LOG4J
Merging of log files
Logging into multiple files.
Log4J - File appender in 2 or more files for the same package.