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
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
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
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
List
Subject: network using appenders when network is down
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
Users List
Subject: network using appenders when network is down
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
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