[OpenWrt-Devel] [PATCH] logread: add support for non-transparent-framing for Syslog over TCP

Etienne Champetier champetier.etienne at gmail.com
Wed Apr 1 13:40:46 EDT 2015


Hi,

Le 1 avr. 2015 19:25, "John Crispin" <blogic at openwrt.org> a écrit :
>
> Hi,
>
> i have just cooked up an alternative patch to do this. i think we should
> make \0 or \n a default and then add an option to switch to the other.
> which one would make more sense as a default ?
>

Thanks for your quick answer!
I think \n is more common and understoud by every syslog/TCP receiver (1
line = 1 log), so you should put this as default.
I prefer \0 because it's very unlikely to find it in original log.

Etienne
>
>         John
>
> On 01/04/2015 18:33, Etienne CHAMPETIER wrote:
> > https://tools.ietf.org/html/rfc6587#section-3.4.2
> > the idea is to add \n or \0 as message trailer so it's easier
> > to find message end
> >
> > Signed-off-by: Etienne CHAMPETIER <champetier.etienne at gmail.com>
> > ---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150401/1fee7f56/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list