2011/1/12 walter harms <[email protected]>: > > > 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 >
If I correctly comprehend the datagram sockets, only 1 datagram could be read per read() call, so I can't understand how '\0' can appear inside a syslog message datagram? Is it possible to read more that one syslog message with one read() call? _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
