Bug 49177

Summary: SyslogAppender: Make the maximum package size configurable
Product: Log4j - Now in Jira Reporter: Stephan <apache>
Component: AppenderAssignee: log4j-dev <log4j-dev>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Added patch for configurable MaxPackageSize
SyslogAppender and SyslogWriter patch

Description Stephan 2010-04-23 11:43:41 UTC
With release 1.2.15 the maximum package size was restricted to 1024 bytes (see https://issues.apache.org/bugzilla/show_bug.cgi?id=42087). This was done because RFC 3164 defines this limit. On the other side some syslog implementations allow a custom message limit, e.g. syslog-ng uses the parameter 'log_msg_size()' (http://www.campin.net/syslog-ng/faq.html).

It would be nice if the maximum package size is configurable.
Comment 1 Stephan 2010-04-28 05:30:20 UTC
Created attachment 25364 [details]
Added patch for configurable MaxPackageSize
Comment 2 charlie 2012-03-16 15:02:15 UTC
Created attachment 28481 [details]
SyslogAppender and SyslogWriter patch

patch against trunk, rev 1301564.