Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write to different log files based on a condition dynamically

Status
Not open for further replies.

ana03

Programmer
Apr 25, 2003
12
0
0
US
Hello folks,

I am trying to write to two different files and the content will be different for both the files.
How can I achieve this ?

I tried closing appender but it does not work, still the output is written to two files.

I have configured properly two appenders in configuration file, say A1,A2 and based on the content I would want to write to specific file only..

Any help is greatly appreciated.

Thank you,
Sharat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top