[RFC] add an option to buffer masked syslog messages
Mike Frysinger
vapier@gentoo.org
Wed Feb 11 19:43:00 GMT 2009
On Wednesday 11 February 2009 14:07:47 Roland McGrath wrote:
> > Roland McGrath writes:
> > > Such hair really belongs in the daemon. syslog should stay simple.
> >
> > I'm not sure I agree with your reasoning. If you think the
> > implementation is tough to get right, then it's better to do it one
> > place and share it. If, on the other hand, you feel that this is really
> > a niche need, then I can see how you wouldn't want it in a generic
> > library. Obviously I feel that this is functionality from which others
> > could benefit.
>
> I think I was unclear. By "the daemon", I meant syslogd.
> The hair should not be in the syslog function.
i think Jeff is talking about the buffering syslog() messages before they get
sent to the socket (and thus before the daemon can read it). so the logic
cant be in syslogd as that's on the other side of the socket.
-mike
More information about the Libc-alpha
mailing list