[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-21 21:51:18 CEST

On Jul 20, 2005, at 10:51 PM, Greg Hudson wrote:

> On Wed, 2005-07-20 at 22:27 -0500, Ben Collins-Sussman wrote:
>
>> In libsvn_subr, this is just a filtered stream, nothing more. A
>> "logger" object just contains an svn_stream_t to write to, and
>> loglevel to control the writing.
>>
>
> How does the receiving string know when one log message ends and
> another
> one begins?

I apologize for my ignorance. Why is this important?

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? Isn't that for some other script (like one which
parses logfiles) to deduce, or assume?

I'm surely missing some big concept here.

>
> So, I don't think svn_stream_t is the right abstraction. Maybe just a
> function which takes a const char * and a pool.
>

I don't understand. Can you explain your proposal in more detail?

(Also, it seems like this is a criticism/counter-proposal to part I
of the Chicago Plan. Is there no objection from anyone to part II?)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 21 21:54:40 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.