Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

LogFormat

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


michael.j.tosh at lmco

Mar 22, 2012, 12:06 PM

Post #1 of 2 (142 views)
Permalink
LogFormat

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


michael.j.tosh at lmco

Mar 22, 2012, 12:36 PM

Post #2 of 2 (139 views)
Permalink
RE: LogFormat [In reply to]

Tosh, Michael J wrote:
> Does the %{}C Format do a regexp search or substring match? How can I force
> it to match the full
> string?

Found my own answer, https://issues.apache.org/bugzilla/show_bug.cgi?id=28037

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.