thank you, but exceptions can be logged to "debug" or "info" too.
What can be the solution in this case ?
Have thought of using a filter.

Any suggestion in this direction?

        thank you,

        Rami


-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 3:39 PM
To: Log4J Users List
Subject: RE: Logging exceptions to a separate file



Howdy,
Assuming you log your exceptions with level error or higher, simply
define another FileAppender for the root logger whose threshold is
error.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Abramson, Rami [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 18, 2003 4:47 AM
>To: Log4j-User (E-mail)
>Subject: Logging exceptions to a separate file
>
>Hello all,
>
>We have a root logger that logs to the console and to a file.
>How is it possible to log all the appearing exceptions to a separate
file
>too?
>
>       thank you,
>
>              Rami A.
>
>NOTICE: This communication contains information which may be
proprietary,
>privileged or confidential. If you are not the intended recipient (or
>authorized to receive for the intended recipient), or believe that you
have
>received this communication in error, please do not print, copy,
>retransmit,
>disseminate, disclose or otherwise use the information. Also, please
>indicate to the sender that you have received this communication in
error
>and delete the copy you received. Thank you.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
NOTICE: This communication contains information which may be proprietary,
privileged or confidential. If you are not the intended recipient (or
authorized to receive for the intended recipient), or believe that you have
received this communication in error, please do not print, copy, retransmit,
disseminate, disclose or otherwise use the information. Also, please
indicate to the sender that you have received this communication in error
and delete the copy you received. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to