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

Re: Apache and svn logging

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Wed, 16 Apr 2008 11:57:29 -0500

On Apr 16, 2008, at 11:36 AM, Richard Andrews wrote:

> I've tried the example explained in the redbook on how to create
> more detailed logging of actions performed against the http hosted
> repos and nothing was being logged. So I tried the following and
> gained some ground but as you will see from my log snippet not
> everything was working:
> LogFormat "%t %u %{Svn-Action}e" svnlog
> CustomLog logs/opssvn_logfile svnlog
> Result:
> 15/Apr/2008:17:12:36 -0400] randrews -
> [15/Apr/2008:17:12:36 -0400] randrews -
> [15/Apr/2008:17:12:37 -0400] randrews -
> So it seems I'm logging something now, but the SVN-ACTION
> environment variable is not being caught and logged. Any thoughts?

Capitalize it exactly as it says in the book:

CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION

Or, if you want to define a log format, I think it would be:

LogFormat "%t %u %{SVN-ACTION}e" svnlog
CustomLog logs/svn_logfile svnlog env=SVN-ACTION

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-16 19:02:31 CEST

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