You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Max Cantor <ma...@gmail.com> on 2008/06/10 21:34:40 UTC

[users@httpd] Unexpected behavior using CustomLog ... env=!SVN-ACTION from mod_dav_svn

It appears to be common knowledge that the following directives will
generate an easy-to-read log entry for all high-level subversion
client actions:

    LogFormat "%t %u %h %{SVN-ACTION}e" svn
    CustomLog /var/sites/svn/www/logs/svn.log svn env=SVN-ACTION

However, this leaves the original gobbledegook in the default access
file.  Even if the Apache server were only used for svn, it'd be nice
to give non-svn browser requests their own access log.  Unfortunately,
this line doesn't seem to work as expected:

    CustomLog /var/sites/svn/www/logs/access.log combined env=!SVN-ACTION

As far as I know, this ought to create a log entry only when the
environment variable SVN-ACTION is not set.  However, my access.log
file is still clogged with low-level garbage.  My syntax seems right,
and those are the only two CustomLog directives in all of my Apache
configuration files, so I'm perplexed.  Is there some vagary to the
way mod_dav_svn assigns SVN-ACTION that I'm not aware of, or have I
just made a stupid, simple mistake?

Thanks!

 - Max

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org