Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

redirect log to two different File of same class

 
Abhishek Mish
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Abhishek,

You may follow the given link.

It may fulfill your needs.

Thanks,
Tanzy.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic