Ben Collins-Sussman wrote:
> * PROBLEM:  logging errors or requests not associated with repositories.
> 
> Sometimes errors happen before a repository is opened, or requests
> come in on bogus URLs.  This is still interesting stuff to log.
> Where/how should it be done?
> 
> Possible Solutions?
> 
>     mod_dav_svn is already logging these sorts of things in apache's
>     own logs.  But svnserve is still out in the cold.  Perhaps
>     svnserve can have private code to write such things to logs in
>     /etc/subversion?  Or should this be shared code as well, making
>     mod_dav_svn use it too?  How do we make a clean conceptual
>     distinction between per-repository logfiles and 'global' ones?
How about...
Per-repos logfiles are specified in the repos config file.  If there is 
no per-repos logfile, or the config file can't be parsed or something 
thus we can't find out about it anyway we fall back to a global log 
file.  The global logfile is controlled by an svnserve command line 
option or an /etc/subversion/somethingorother directive, if no global 
logfile is set up then no logging happens, the same situation we have 
currently.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 15 17:31:10 2005