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

Re: logging repositories activity in svnparentpath template

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 13 May 2008 21:18:40 -0500

On May 13, 2008, at 7:50 AM, matthieu.mary_at_externe.bnpparibas.com wrote:

> I manage a subversion server throught Apache 2.x server with an svn
> parent path template.
> I have add in the apache configuration file the following line to
> log actions made on the repositories:
>
> CustomLog logs/svn.log "%t %u %{SVN-ACTION}e" env=SVN-ACTION
>
> But in this case, we don't have the name of the repository, only
> path in the repository where actions are made.
> I've check wihtout succes if there is a way to have the repository
> name in the log file?

Right... as far as I know that capability is still somewhat missing.

But see my svnhookdispatcher script for a workaround. I have the
Apache log sent to a script though a pipe, and that script parses the
repository name out of the URL. You could probably reuse that bit of
code if you're interested.

http://www.ryandesign.com/svnhookdispatcher/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-14 04:19:03 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.