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

Re: "witty subject line about logging feature"

From: Marc Haisenko <haisenko_at_webport.de>
Date: 2005-07-28 10:56:12 CEST

On Wednesday 27 July 2005 21:12, Greg Hudson wrote:
> On Wed, 2005-07-27 at 10:43 +0200, Marc Haisenko wrote:
> > ... if available. But implementing "log to file" should be quite trivial
> > in cases where syslog/Windows event log is not available.
>
> It's less trivial than you think, because you need to take into account
> log-rolling. This requires your process to accept a signal which causes
> you to close and re-open the log file. If logging has been abstracted
> into a library, then that either forces the library to futz with the
> process's global signal state, or increases the API complexity of the
> library.
>
> I'm not saying it's rocket science, just that it's not ten lines of
> trivial code.

Let me rephrase it: "compared with other stuff SubVersion is implementing, log
to file would be quite trivial" ;-)

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 28 10:58:02 2005

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