libsvn_repos logging -- rethunk
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-16 00:07:51 CEST
So Karl and I had another long chat, and now we're both thinking that
My last conclusion was based on ghudson's suggestion: "bah, apache
But now we're thinking that maybe this isn't so good.
First, errors are generally just as specific to repositories as
Second, svnserve and apache aren't the only users of svn_repos_t.
So we're backtracking a bit, and proposing this more grandiose vision:
I. Repositories have an accesslog and an errorlog.
A. repository logs live in repos/logs/. By default, a
B. repositories grow their own configuration file in
II. Repos-specific public API for accesslog and errorlog
A. svn_repos_open() parses repos/conf/repos.conf, and thus knows
B. API allows user to identify itself to the svn_repos_t, so
C. API to write to errorlog and accesslog both take a
The objections people have brought up previously:
1. "What about errors (or access requests) that happen before we have
Our feeling is that each process can decide how to handle those
* not log such events at all
* log them in a sensible global location
* log them in location determined by a process-specific .conf
2. "But mod_dav_svn is already logging errors to apache's errorlog."
We can change mod_dav_svn to:
* log repos-inspecific errors in apache's errorlog, and
* give administrators a choice: "would you like repository
---------------------------------------------------------------------
|
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.