This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] add an option to buffer masked syslog messages


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]