syslogd split_escape_and_log()

walter harms wharms at bfs.de
Wed Jan 12 15:13:57 UTC 2011



Am 12.01.2011 14:35, schrieb Sergey Naumov:
> Hello.
> 
> Does anybody know why syslogd does not split messages before sending
> them to remote machine but do it for local log? Maybe because current
> implementation of syslogd does not consider facility/priority value of
> the messages and send them all?
> I am working on support of remote log in syslog.conf and so I should
> take into consideration fac/prio of every message, so maybe it will be
> better to split messages by '\0' before sending them anywhere?
> 


Actualy i have no idea, but i would move any format issue to the remote server.
Normaly the sender has no idea what the remote server likes so there is no good
default.

mfg
 wh


More information about the busybox mailing list