LogFormat

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

 



I'm running a Bugzilla instance on my apache server.  Bugzilla contains two cookies when a user is logged in, Bugzilla_login (an integer) and Bugzilla_logincookie. (a hex string)  I'd like to capture the value of Bugzilla_login in my CustomLog.
 
I have the following CustomLog directive:
  CustomLog logs/my-access_log "%h %{Bugzilla_login}C %T %t"
 
Unfortunately, I get the following in my logfile:
10.0.0.1 ookie=gVcCn9lyLP 3 [22/Mar/2012:15:01:08 -0400]
10.0.0.2 254 14 [22/Mar/2012:15:01:14 -0400]
 
Does the %{}C Format do a regexp search or substring match?  How can I force it to match the full string?
 
Thanks,
Mike
 
 
 

[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