[logback-dev] [qos-ch/logback] 78d879: When setting the default syslog maxMessageSize, us...

Tony Trinh tony19 at gmail.com
Tue Dec 10 05:47:46 CET 2013


  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback
  Commit: 78d87959c818eeb746a6d7ba017f10c193f74b28
      https://github.com/qos-ch/logback/commit/78d87959c818eeb746a6d7ba017f10c193f74b28
  Author: Eric Dahl <eric.c.dahl at gmail.com>
  Date:   2013-12-07 (Sat, 07 Dec 2013)

  Changed paths:
    M logback-classic/src/test/java/ch/qos/logback/classic/net/SyslogAppenderTest.java
    M logback-core/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java

  Log Message:
  -----------
  When setting the default syslog maxMessageSize, use an upper limit of 65000
for the cases where the automatic detection goes over this limit. UDP
messages are limited to 65536 bytes, but that includes the UDP headers
themselves, so the value of 65000 is used instead (this is the value
that used to be statically used)


  Commit: 78c4e2b626a2dec5ee7fcbb9d9868ff529899675
      https://github.com/qos-ch/logback/commit/78c4e2b626a2dec5ee7fcbb9d9868ff529899675
  Author: Tony Trinh <tony19 at gmail.com>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M logback-classic/src/test/java/ch/qos/logback/classic/net/SyslogAppenderTest.java
    M logback-core/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java

  Log Message:
  -----------
  Merge pull request #165 from ericdahl/syslog-maxsize-limit

Limit the maximumMessageSize for SyslogAppender to be 65000


Compare: https://github.com/qos-ch/logback/compare/e0f26e69f8ca...78c4e2b626a2


More information about the logback-dev mailing list