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

Re: Subversion/mod_dav_svn questions

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Mon, 11 Feb 2008 18:24:20 -0600

On Feb 11, 2008, at 10:00, Chris Ross wrote:

> I'm trying to get the repository name reported, in places where it
> doesn't show up by default. First, in the CustomLog from apache.
> I am
> using Apache (2.0.x) as my access to my repositories, and as suggested
> in numerous places, have the following in my configuration:
>
> CustomLog logs/svn_log "%t %u %{SVN-ACTION}e" env=SVN-ACTION
>
> However, my configuration is with an overall <Location>, using
> SVNParentPath. And, the above CustomLog spec results in the log
> messages looking somewhat like:
>
> [11/Feb/2008:10:48:56 -0500] cross unlock '/foo/newfile'
> [11/Feb/2008:10:48:57 -0500] cross commit r12
> [11/Feb/2008:10:50:21 -0500] cross commit r13
>
> Now, I could infer from the revision number what repository this is
> in, but that's the only way. There are at least 3 repositories being
> logged to this file by mod_dav_svn, but the repository name isn't
> being
> logged. Is that available somewhere?

It's too bad the repo name doesn't seem to be available as a separate
variable anywhere. I had to parse it out of the URL.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-12 01:25:00 CET

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.