You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Lisa Yuan <ly...@ambernetworks.com> on 2001/11/09 03:07:09 UTC

write log to different files

Hi,

  I am new to log4j. I try to find a solution for following situation.
Within same category, I like to write some log statements to file1 and 
suppress those log statements in file2. File1 and file2 are attached to same
category.
If I use two file appenders in same category, log requests will be
sent to both files, right? How can I control to send log statements only to
file1 and not to file2 
within same category?

Thanks for any help,
Lisa  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>