[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: Michael R Sweet <mike_at_easysw.com>
Date: 2005-07-23 20:20:34 CEST

Greg Hudson wrote:
> ...
> It's true that going with the native logging system on each platform
> would be a more difficult path. We'd have to add functionality to APR
> (which has never concerned itself with this problem because httpd uses
> a home-grown logging subsystem), and we'd have to figure out what the
> best native logging facility is on various platforms, as well as
> figuring out how to provide a uniform interface to those platforms'
> logging levels and facilities. But in the long term, a home-grown
> logging subsystem is extra complexity which we could never practically
> rid ourselves of.
> ...

I think the existing httpd logging code could easily be adapted to
APR by basically moving the low-level logging code in server/log.c
to APR and then using some thin glue code to maintain the existing
httpd API.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 23 20:21: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.