[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: Johan Bogema <johan_at_bogema.nl>
Date: Wed, 16 Apr 2008 20:03:49 +0200

why don't you just use the default combined log format? it gives you
all information about the used actions, the client and all other
information.

On 16 apr 2008, at 19:53, Richard Andrews wrote:

> I tried the all caps example with no success unfortunately.
>
>
> Richard Andrews
>
> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2008b_at_ryandesign.com]
> Sent: Wednesday, April 16, 2008 12:57 PM
> To: Richard Andrews
> Cc: 'users_at_subversion.tigris.org'
> Subject: Re: Apache and svn logging
>
>
> 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
>

---------------------------------------------------------------------
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 20:04:51 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.