[jboss-jira] [JBoss JIRA] (WFCORE-1403) UDP Syslog handler cannot log first message after reconnect

James Perkins (JIRA) issues at jboss.org
Thu Feb 18 18:29:00 EST 2016


     [ https://issues.jboss.org/browse/WFCORE-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins closed WFCORE-1403.
---------------------------------
    Resolution: Rejected


This is working as expected. It's the way that {{java.net.DatagramSocket.send()}} is implemented. The first invocation on a down server doesn't raise and error. The second invocation raises the error and the third invocation works as expected.

> UDP Syslog handler cannot log first message after reconnect
> -----------------------------------------------------------
>
>                 Key: WFCORE-1403
>                 URL: https://issues.jboss.org/browse/WFCORE-1403
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Ondrej Lukas
>            Assignee: James Perkins
>         Attachments: logging-deployment.war
>
>
> In case when logging to syslog through UDP protocol is configured and syslog port becomes unreachable then after syslog restart first message can be thrown away. It happens when odd number of messages is attempted to be logged during syslog is unreachable. It is caused when port unreachable is returned during logging attempt, then another log attempt automatically fail even if syslog server has been started meanwhile.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list