[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-07-27 21:12:11 CEST

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

I'm not saying it's rocket science, just that it's not ten lines of
trivial code.

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