On Feb 11, 2008, at 18:32, Matt Pounsett wrote:
> On 2008-Feb-11, at 19:24, Ryan Schmidt wrote:
>
>>> However, my configuration is with an overall <Location>, using
>>> SVNParentPath. And, the above CustomLog spec results in the log
>>> messages looking somewhat like:
>
> [...]
>
>>> 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.
>
> Assuming your <Location> blocks look something like this:
>
> <Location /myrepo>
> DAV svn
> SVNPath /var/svn/repos/myrepo
> </Location>
>
> Could you do this?
>
> <Location /myrepo>
> DAV svn
> SVNPath /var/svn/repos/myrepo
> SetEnv SVN-REPO myrepo
> </Location>
>
> And then reference 'SVN-REPO' in your custom log entry?
>
> I have no idea if that would work or not.. but it might be worth a
> try.
If you're using SVNPath pointing to a single repo there isn't much of
a problem. But the original poster (and me too) was using
SVNParentPath and therefore multiple repositories.
---------------------------------------------------------------------
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 08:01:41 CET