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

Re: libsvn_repos logging APIs (was Re: Proposal for Logging in Svnserve)

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-07-14 19:45:19 CEST

nick vajberg wrote:
> The difference is that the API would follow what
> everybode else is doing.

That's an overstatement; as Sussman pointed out, Apache does not use the
log4j model. I'm sure I could find as many projects with homebrewed log
libraries that work one way as the other. You may want to include the
phrase "In my experience" or "IMNSHO" in the future before any absolute
statements like the above... ;-)

FWIW, when I rewrote the logging in Qpsmtpd, one of my primary goals was
to make the API as simple as possible, equivalent to:

        log_new();
        log_level();
        log();

and have the ability to hook multiple log plugins into the same
framework (perhaps I want to log event X to console and event Y to a
database and event Z to a file). Sure you pay for an additional
dispatch, but the flexibility it definitely worth it.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 14 19:45:55 2005

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