qos-ch/logback — pull request #165 by ericdahl (2013-12-07 18:40:19+00:00)
Title: Limit the maximumMessageSize for SyslogAppender to be 65000

The ```SyslogAppenderTest#large()``` test has been failing on the [Jenkins CI server](https://logback.ci.cloudbees.com/job/logback/) since 455bb2dec289878291eb2879ed5dd0ad84d5d0e9. It appears that the EC2 host running the tests has its ```net.core.wmem_default``` sysctl set to ```229376```, meaning that the autodetection code from that commit was setting the maximum message size to 112k. This value is larger than the size of a UDP datagram, meaning that the log message would be lost in this situation.

This pull request alters the previous max message size detection code to place an upper limit on the option to be 65000 bytes. This is the value that was in place prior to 455bb2dec289878291eb2879ed5dd0ad84d5d0e9.