You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Oscar Segarra Rey <os...@gencat.net> on 2007/06/17 10:45:24 UTC

Problem with SVN-ACCESS on windows.

Hi, we would like to get svn-access.log logfile with svn repository access control. In order to get it and following the instructions given in the documentation we have added these lines:

 

...

##################BEGIN SUBVERSION#############################

LoadModule dav_svn_module "C:/Subversion/bin/mod_dav_svn.so"

LoadModule authz_svn_module "C:/Subversion/bin/mod_authz_svn.so"

##################END SUBVERSION#############################

...

LogFormat "%t %u %{SVN-ACTION}e" subversionlog

CustomLog logs/svn-access.log subversionlog env=SVN-ACTION

 

But svn-access.log appears empty and never fills:

 

If I change the line CustomLog as follows:

CustomLog logs/svn-access.log subversionlog

 

Then logfile writes something like:

 

[17/Jun/2007:12:42:25 +0200] - -

[17/Jun/2007:12:42:29 +0200] sysoper -

[17/Jun/2007:12:42:29 +0200] sysoper -

 

It looks it is not getting the SVN-ACCION environment variable value or something like this...

 

System: Win2003R2

Apache/2.0.59 (Win32) SVN/1.4.3 DAV/2

 

Thanks in advance. 

 

________________________________

 

Oscar Segarra

Àrea de Tecnologies de la Informació i les Comunicacions

Departament de la Presidència Generalitat de Catalunya

C/ Sant Honorat, 1, 08002 - Barcelona

Tel. 934 02 48 34

email: osegarra@gencat.net

 

 


Re: Problem with SVN-ACCESS on windows.

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 17, 2007, at 05:45, Oscar Segarra Rey wrote:

> LogFormat "%t %u %{SVN-ACTION}e" subversionlog
>
> CustomLog logs/svn-access.log subversionlog env=SVN-ACTION
>
>
> But svn-access.log appears empty and never fills:
>
>
> If I change the line CustomLog as follows:
>
> CustomLog logs/svn-access.log subversionlog
>
>
> Then logfile writes something like:
>
>
> [17/Jun/2007:12:42:25 +0200] - -
>
> [17/Jun/2007:12:42:29 +0200] sysoper -
>
> [17/Jun/2007:12:42:29 +0200] sysoper –
>
>
> It looks it is not getting the SVN-ACCION environment variable  
> value or something like this...
>
>
> System: Win2003R2
>
> Apache/2.0.59 (Win32) SVN/1.4.3 DAV/2

I just pasted your LogFormat and CustomLog lines into my httpd.conf  
and it worked fine for me, using Mac OS X 10.4.9, Apache 2.2.4 and  
Subversion 1.4.4 on an Intel Core 2 Duo Mac. I've never tried it on a  
Windows server, but I wanted you to know that it does work for some  
configurations at least...


$ tail /opt/local/apache2/logs/svn-access.log
[17/Jun/2007:11:37:32 -0500] rschmidt checkout-or-export '/foo/trunk'
[17/Jun/2007:11:37:32 -0500] rschmidt checkout-or-export '/vendor/bar/ 
1.0'
[17/Jun/2007:11:37:33 -0500] rschmidt checkout-or-export '/baz/trunk/ 
libs'
[17/Jun/2007:11:37:33 -0500] rschmidt checkout-or-export '/vendor/ 
quux/1.1.0/libs'
$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org