https://issues.apache.org/bugzilla/show_bug.cgi?id=51979
Bug #: 51979
Summary: Fix for bug 42087 introduces line truncating in syslog
for lines longer than 1024 bytes
Product: Log4j
Version: 1.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
The bugfix for 42087 has introduced a new bug which simply truncates lines
longer than 1024 bytes. This renders the remainder of the line non-existent for
syslog.
This affects versions >= 1.2.15, as the "fix" was introduced in the 1.2.15
release.
As a temporary fix, one can rollback to 1.2.14.
I believe the cause is due to the fact that the change in r530990 in
net/SyslogAppender.java does not actually perform a write(...) when the line is
> 1024 (in the else statement).
Please, fix.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]