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

Re: Svnserve still exiting randomly in threaded mode

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2004-05-18 07:32:20 CEST

Greg Hudson wrote:

>On Tue, 2004-05-18 at 00:42, ectosphenoid-svn@yahoo.com wrote:
>>>>Appears to require gcc, and not work on Windows currently. And
>>>>really, logging isn't a big enough problem to justify a new library
>>>>dependency. Adding a bit of code to APR (perhaps ripped from the
>>>>still-bleeding heart of httpd's server/log.c) seems like the optimal
>>People who try to reinvent logging libraries are doomed to do so poorly.
>Uh, do you have any evidence for that statement? I've seen a lot of
>poor incarnations of malloc wrappers and text editors and GUI toolkits,
>but not so many bad logging libraries.
I've seen lots and lots. :-)
The first mistake everybody seems to make is to forget that parameter
evaluation takes time, so they put debug level checks into the logging
functions themselves. You wouldn't _balieve_ the kind of slowdown this
can cause.

>I'm particularly concerned with log4c's invention of a new log4rc config
>file, when Unix already has a perfectly good (well, perfectly adequate)
>central logging configuration file.
You don't have to use that configuratin file. If you want to keep things
simple, you can do all the initialization programatically (which would
make sense for svnserve, anyway).

-- Brane

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 18 07:34:04 2004

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.