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

Re: logging: are we there yet?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-07-28 02:44:18 CEST

Filipe Fernandes wrote:

>Nicolás Lichtmaier wrote:
>
>
>>Nobody has complained about Apache logging to its specific files. Simple
>>file-logging has several advantages: Logs are the same cross-platform,
>>and Subversion is heavily cross-platform. Tools can be written to
>>accesss them, process them and give statistics. Of course, it should
>>still be posible to configure the logging system to send logs above a
>>certain priority to the system log.
>>
>>What do you think?
>>
>>
>
>I definitely agree with Nicolás that logging should not be platform
>specific by tying it down as win32 events or Unix syslogd. In the
>spirit of Subversion's cross platform design, I see no problem logging
>to the file system (In fact, I think it's more flexible).
>
>External tools can then be written by those who desire it, to capture
>this information and record them as win32 or syslogd events to be
>captured.
>
>Using the OS's facilities to perform the logging function would only
>serve to hinder subversion's cross platform endeavors and make it more
>difficult for those who want to access that info programmatically using
>the OS's logging capabilities as opposed to simply interpreting log
>files.
>
>
Oh crap.

We use the OS facilities for everything else, starting with file
manipulation. What's more, SVN's definition of "portable" includes
"behaves like a native application". And that definitely means we should
know how to use the platform's native logging facility.

-- Brane

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