logging - Log4J 1.2 SyslogAppender to detect fail connection -


currently i'm using log4j 1.2.x, , intend use syslogappender logging syslog server. have accomplish this.

however, aware there possibility message not received server. , want write failed message/log file

so questions :

  • is possible detect failure on writing syslog server?
  • if detection out of question, possible have failover approach? in syslogappender fail reason, fileappender used instead.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -