Look at WriterAppender.setErrorHandler
On 8/16/06, Takacs Bence <[EMAIL PROTECTED]> wrote:
Hello
Our servers have small storage, so I don't want to use FileAppender.
What can I do if the LAN is down and my appender wants to send an email
or send a Socket message? The buffer will be deleted if t
How does one unsubscribe from this list? I have tried
[EMAIL PROTECTED] several times with no success.
-dh
-Original Message-
From: Bender Heri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 9:14 AM
To: Log4J Users List
Subject: RE: network using appenders when network is
Subclass the SMTP appender for catching any send errors and retry send the log
message to Localmachine, where a you provide a listener which logs into a file.
Heri
> -Original Message-
> From: Takacs Bence [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 16, 2006 2:22 PM
> To: Log4J Us
And how can I check the networking and call the suitable appender
without writing my own appender?
This is implementation decision.
Is there any possibility to make this
ckeck from log4j configuration (properties or xml file)?
I don't know of any
Or maybe I can catch the exception of Soc
a possible solution for not lossing messages in case of LAN being down
would
be to use an other appender (FileAppender) in such cases. Either you check
if there is network connection and continue as usually, if there is, or use
a FileAppender in case of a problem, either you subclass the needed
Hi,
a possible solution for not lossing messages in case of LAN being down would
be to use an other appender (FileAppender) in such cases. Either you check
if there is network connection and continue as usually, if there is, or use
a FileAppender in case of a problem, either you subclass the need