[
https://issues.apache.org/jira/browse/LOG4J2-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16776781#comment-16776781
]
a b commented on LOG4J2-2554:
-----------------------------
Thanks! I've since tested
* with a more recent syslog-ng (3.19.1)
* added format="RFC5424" to the appender
The issue is no-more!
> TLS syslog: events are not dispatched until client terminates
> -------------------------------------------------------------
>
> Key: LOG4J2-2554
> URL: https://issues.apache.org/jira/browse/LOG4J2-2554
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Reporter: a b
> Priority: Major
>
> 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:
> # a connection established on the server side.
> # events are generated on the client side
> # 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'.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)