[ 
https://issues.apache.org/jira/browse/LOG4J2-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers resolved LOG4J2-122.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-beta4
         Assignee: Ralph Goers

I added your application as a unit test but modified the server to call 
setSoLinger(true, 0) and then verified that exceptions are properly thrown.
                
> Socket/Syslog appenders silently lose first message after socket disconnect
> ---------------------------------------------------------------------------
>
>                 Key: LOG4J2-122
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-122
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.0-beta2
>         Environment: Java 1.6.0_24
>            Reporter: Scott Severtson
>            Assignee: Ralph Goers
>             Fix For: 2.0-beta4
>
>         Attachments: log4j2.xml, TestSilentMessageLossBehavior.java
>
>
> The Socket and Syslog appenders silently lose the first log message sent 
> after the destination server socket disconnects. This occurs regardless if 
> suppressExceptions is set to true or false.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to