Bug 11371

Summary: log to remote syslog incorrectly appends "\n"
Product: Busybox Reporter: hackler756
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description hackler756 2018-09-24 07:08:55 UTC
"\n" should be removed

please take a look at the message specification with examples 
https://tools.ietf.org/html/rfc5424#page-8

source - sysklogd/syslog.c
https://git.busybox.net/busybox/tree/sysklogd/syslogd.c#n1059

1059		/* Stock syslogd sends it '\n'-terminated
1060		 * over network, mimic that */
1061		recvbuf[sz] = '\n';
1078			if (sendto(rh->remoteFD, recvbuf, sz+1,