Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2568

How to configure syslog appender to reconnect

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.11.2
    • None
    • Appenders
    • None

    Description

      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:

       docker run -it --rm -p 7514:514/udp -p 7601:601/tcp  balabit/syslog-ng -evd

       

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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            stonefruit a b
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: