a b created LOG4J2-2568:
---------------------------

             Summary: How to configure syslog appender to reconnect 
                 Key: LOG4J2-2568
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2568
             Project: Log4j 2
          Issue Type: Question
          Components: Appenders
    Affects Versions: 2.11.2
            Reporter: a b


After failing to send a message to syslog-ng using tcp, the connection is 
reported as closed in syslog-ng, yet seems like appender is unaware. Even with 
ignoreExceptions='true', logger still happilty sends messages through, none of 
which actually hit the server.

 

Used bababit/syslog-ng docker image for server:
{code:java}
 docker run -it --rm -p 7514:514/udp -p 7601:601/tcp  balabit/syslog-ng 
-evd{code}
 

...and some groovy test specification cobbled-together to test (FWIW, as a 
sanity check, it is able to send via udp)

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to