logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: network using appenders when network is down
Date Wed, 16 Aug 2006 14:29:32 GMT
Look at WriterAppender.setErrorHandler

On 8/16/06, Takacs Bence <bence@watt22.hu> 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 the server will
> reboot, and additionally I don't know what is the physical limit for
> buffer size.
>
> Or is there any possibility to say to log4j: "if you can send the
> messages:send; if not: call the daily rolling appender"? Because in this
> case I could write an other application, which looks for log files in
> every reboot, send the content with some kind of network appender, and
> delete the log files.
>
> Thanks:
>         Bence
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message