You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2009/05/04 17:14:23 UTC

SVN 1.5.X - Apache Log Files

Hi,

i have observed a little exceptional (In my opinion) thing, which i
don't understand...

I have configured my apache (2.0.59) with SVN Modules and configured a
CustomLog entry to print out SVN events...so far so good...

...CustomLog configured as described in the SVN Book (for SVN 1.5.x).

I can see the operations which are done via Command Line Client or
TortoiseSVN...(checkout-or-update etc.)

But...i can's see any thing which happen if someone goes via Browser to
the URL...? This is more or less equal to svn list ? isn't it ?

Some explanations for this?

Might there be a solution for new SVN Releases ?

What about the new things in SVN 1.6:

http://subversion.tigris.org/svn_1.6_releasenotes.html#historical-uris

Will their activity logged like usual SVN operations in the Apache Log 
file ? Or might there be a difference to distinct those operations ?


Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2058189


Re: SVN 1.5.X - Apache Log Files

Posted by Ben Collins-Sussman <su...@red-bean.com>.
On Fri, May 8, 2009 at 9:15 AM, C. Michael Pilato <cm...@collab.net> wrote:
> Eric Gillespie wrote:
>> C. Michael Pilato <cm...@collab.net> writes:
>>
>>> I don't see this behavior on my machine, nor do I find code to support this
>>> claim.  The only "get-file" lines I've seen to date are those related to
>>> PROPFINDs on file resources.
>>
>> Huh, how 'bout that.  So, the common format supports it, but only
>> svnserve actually logs it.  Probably I'd officially stopped
>> caring about dav by then.
>>
>
> I've filed issue 3410[1] to track this concern.  My concern, that is, since
> Eric apparently has none.  :-)
>

I used to not care, but now I agree with cmpilato on this.  Splitting
up logs at various resolutions is annoying.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2122521


Re: SVN 1.5.X - Apache Log Files

Posted by "C. Michael Pilato" <cm...@collab.net>.
Eric Gillespie wrote:
> C. Michael Pilato <cm...@collab.net> writes:
> 
>> I don't see this behavior on my machine, nor do I find code to support this
>> claim.  The only "get-file" lines I've seen to date are those related to
>> PROPFINDs on file resources.
> 
> Huh, how 'bout that.  So, the common format supports it, but only
> svnserve actually logs it.  Probably I'd officially stopped
> caring about dav by then.
> 

I've filed issue 3410[1] to track this concern.  My concern, that is, since
Eric apparently has none.  :-)

[1] http://subversion.tigris.org/issues/show_bug.cgi?id=3410

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2114461

Re: SVN 1.5.X - Apache Log Files

Posted by "C. Michael Pilato" <cm...@collab.net>.
Eric Gillespie wrote:
> C. Michael Pilato <cm...@collab.net> writes:
> 
>> One major source of confusion and frustration with the mod_dav_svn
>> operational logging support is that it was design to merely complement the
>> baseline Apache logging.  This means that where no interesting additional
>> information would be added with an operational log line, no such line is
>> written.  Unfortunately, this means that simple GET requests such as those
>> used when navigating a repository with a web browser don't generate
>> subversion log lines (because they would be entirely redundant with
>> access_log lines).  I think I was originally in favor with this idea, but
>> have since grown to hate it due to the confusion it causes.
> 
> I changed that in 1.5.  Both dav and svnserve log the same things
> (well, the svnserve part might be 1.6, not sure), and it's
> fairly comprehensive.  To take your specific example, dav will
> log a get-file line for your GET request.

I don't see this behavior on my machine, nor do I find code to support this
claim.  The only "get-file" lines I've seen to date are those related to
PROPFINDs on file resources.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2069710

Re: SVN 1.5.X - Apache Log Files

Posted by Eric Gillespie <ep...@pretzelnet.org>.
C. Michael Pilato <cm...@collab.net> writes:

> One major source of confusion and frustration with the mod_dav_svn
> operational logging support is that it was design to merely complement the
> baseline Apache logging.  This means that where no interesting additional
> information would be added with an operational log line, no such line is
> written.  Unfortunately, this means that simple GET requests such as those
> used when navigating a repository with a web browser don't generate
> subversion log lines (because they would be entirely redundant with
> access_log lines).  I think I was originally in favor with this idea, but
> have since grown to hate it due to the confusion it causes.

I changed that in 1.5.  Both dav and svnserve log the same things
(well, the svnserve part might be 1.6, not sure), and it's
fairly comprehensive.  To take your specific example, dav will
log a get-file line for your GET request.

http://svn.collab.net/repos/svn/trunk/tools/server-side/svn_server_log_parse.py

-- 
Eric Gillespie <*> epg@pretzelnet.org

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2065094

Re: SVN 1.5.X - Apache Log Files

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Micheal,

>> i have observed a little exceptional (In my opinion) thing, which i
>> don't understand...
>>
>> I have configured my apache (2.0.59) with SVN Modules and configured a
>> CustomLog entry to print out SVN events...so far so good...
>>
>> ...CustomLog configured as described in the SVN Book (for SVN 1.5.x).
>>
>> I can see the operations which are done via Command Line Client or
>> TortoiseSVN...(checkout-or-update etc.)
>>
>> But...i can's see any thing which happen if someone goes via Browser to
>> the URL...? This is more or less equal to svn list ? isn't it ?
> 
> One major source of confusion and frustration with the mod_dav_svn
> operational logging support is that it was design to merely complement the
> baseline Apache logging.  This means that where no interesting additional
> information would be added with an operational log line, no such line is
> written.  Unfortunately, this means that simple GET requests such as those
> used when navigating a repository with a web browser don't generate
> subversion log lines (because they would be entirely redundant with
> access_log lines).  I think I was originally in favor with this idea, but
> have since grown to hate it due to the confusion it causes.

Ok...that's a statement...

But do exist plans to change that or do exist design/proposal documents 
about that ?  May be to get it consistent with svnserve logging output ?

Kind regards
Karl Heinz
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2059040


Re: SVN 1.5.X - Apache Log Files

Posted by "C. Michael Pilato" <cm...@collab.net>.
Karl Heinz Marbaise wrote:
> Hi,
> 
> i have observed a little exceptional (In my opinion) thing, which i
> don't understand...
> 
> I have configured my apache (2.0.59) with SVN Modules and configured a
> CustomLog entry to print out SVN events...so far so good...
> 
> ...CustomLog configured as described in the SVN Book (for SVN 1.5.x).
> 
> I can see the operations which are done via Command Line Client or
> TortoiseSVN...(checkout-or-update etc.)
> 
> But...i can's see any thing which happen if someone goes via Browser to
> the URL...? This is more or less equal to svn list ? isn't it ?

One major source of confusion and frustration with the mod_dav_svn
operational logging support is that it was design to merely complement the
baseline Apache logging.  This means that where no interesting additional
information would be added with an operational log line, no such line is
written.  Unfortunately, this means that simple GET requests such as those
used when navigating a repository with a web browser don't generate
subversion log lines (because they would be entirely redundant with
access_log lines).  I think I was originally in favor with this idea, but
have since grown to hate it due to the confusion it causes.


-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2058234