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

TLS syslog: events are not dispatched until client terminates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Appenders
    • None

    Description

      Hi.

      I am testing syslog dispatch through log4j2.

      server: syslog-ng 3.6.5 (ubuntu, client authentication disabled)

      client: configured 3 appenders: udp, tcp and tls (xml file, monitored every 2 sec)

      When sending using udp and tcp appenders, messages are received promptly at the server side.

      when sending using tls appender, I can see:

      1. a connection established on the server side.
      2. events are generated on the client side
      3. No events are captured on server.

      Upon terminating the client, events are captured on the server side. So it seems events are queued on the client, and are not flushed until the client terminates. This happens regardless of me setting 'immediateFlush' bufferedIO' or 'bufferSize'.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: