Problem using environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!
I run a small Apache server that runs a few VirtualHosts, one of which contains a website and Subversion repository. I am trying to separate the SVN activity and website activity into two separate log files using simple LogFormat and CustomLog commands:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%t %u %U %{SVN-ACTION}e" svn
...
CustomLog ".../access.log" combined env=!SVN-ACTION
CustomLog ".../svn.log" svn env=SVN-ACTION


The svn.log file is perfect, but the access.log file still has tons of SVN activity in it, like the lines below: ... [10/Jan/2010:18:02:12 -0600] "PROPFIND /svn/..." 207 398 "-" "SVN/1.6.6 (r40053)/TortoiseSVN-1.6.6.17493 neon/0.28.6" ... [10/Jan/2010:18:02:12 -0600] "CHECKOUT /svn..." 201 246 "-" "SVN/1.6.6 (r40053)/TortoiseSVN-1.6.6.17493 neon/0.28.6"

So the env!=SVN-ACTION option appears to either not be working, or not covering all of the SVN activity.
Am I setting the environment option incorrectly?
Since the SVN repositories all lie in a common folder ("/svn"), could I add something like "folder!=/svn" instead?

Thanks for your help!
Jake Stone

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux