[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Logging: home-grown mechanism or syslog/event-log?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-07-22 02:01:47 CEST

On Thu, 2005-07-21 at 15:16 -0700, Brian Holmes wrote:
> On 7/21/05, Greg Hudson <ghudson@mit.edu> wrote:
> > On Thu, 2005-07-21 at 14:51 -0500, Ben Collins-Sussman wrote:
> > > A process wants to push a message (some number of bytes, usually
> > > ending in \n) into a stream_t. Who cares where the message
> > > 'dividers' are?

> > If you're logging via syslog(), you want to call syslog() with a
> > complete log message, and not include a newline.

> Yes, we can but that doesn't mean we have to. Just because there are
> extra features to syslog() doesn't mean we have to fully use them. We
> could also attach binary data to our log messsages in Windows but we
> don't need to. We really just want to support the interface enough to
> get our one line message out.
>
> Why can't a "complete log message" be written without new lines in the middle?

I can't help but feel like you misunderstood what I said. Your question
is totally incomprehensible to me. I wasn't talking about some "extra
feature" of syslog, and I wasn't discussing newlines internal to log
messages. I was discussing how syslog needs to see the log messages (as
a series of messages, one per syslog() call), which is different from
how a log file needs to see them (a series of bytes, with newlines at
the end of each log message).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 22 02:04:58 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.