On 11/15/2012 10:09 AM, Mark Phippard wrote: > When I do a GET using a web browser or wget, the logged request is for > something like: > > /svn/repos/trunk/foo.txt > > But when I do a checkout using Serf, the logged request is for something like: > > /svn/repos/!svn/ver/2/trunk/foo.txt > > Could we give admins the ability to not log the requests for !svn ?
We can do this today by recommending the following httpd.conf configuration:
SetEnvIf Request_URI "^" in_repos=0
SetEnvIf Request_URI "/!svn/" in_repos=1
SetEnvIf Request_Method "GET" dontlog
SetEnvIf in_repos 0 !dontlog
CustomLog logs/access_log withagent env=!dontlog
Note that we can also squeeze in other requests they might wish to not see
logged, too:
SetEnvIf Request_Method "PROPFIND" dontlog
> We would probably also want the Subversion operational logs to not
> include the get-file log entry for these files as well.
Yup.
--
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Enterprise Cloud Development
signature.asc
Description: OpenPGP digital signature

