Project

General

Profile

Feature #1145

mod_accesslog cookie field support %{VARNAME}C

Added by snailfly almost 10 years ago. Updated 9 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_accesslog
Target version:
Start date:
Due date:
% Done:

100%

Missing in 1.5.x:

Description

In some case we need to log cookie field into access log for visitor analyze,and a cookie field support has plan for a long time in
http://trac.lighttpd.net/trac/wiki/Docs%3AModAccessLog .

Here is a small patch to support cookie field against 1.5.0-svn r1820,it's split from quehy\'s jumbo patch.It's work for me,hope this can include into the main source.

cookie.log.patch.txt View (1.77 KB) snailfly, 2007-04-24 18:04


Related issues

Related to Feature #2174: Allow mod_accesslog to print cookie value Duplicate 2010-03-15

Associated revisions

Revision 5e76b284 (diff)
Added by gstrauss 9 months ago

[mod_accesslog] %a %A %C %D %k %{}t %{}T (fixes #1145, fixes #1415, fixes #2081)

add support for additional commonly-used accesslog format flags

x-ref:
"mod_accesslog cookie field support C"
https://redmine.lighttpd.net/issues/1145
"access_log : %D time used in ms (not supported)"
https://redmine.lighttpd.net/issues/1415
"
{format}t support"
https://redmine.lighttpd.net/issues/2081

History

#1 Updated by gstrauss 9 months ago

  • Related to Feature #2174: Allow mod_accesslog to print cookie value added

#2 Updated by gstrauss 9 months ago

  • Subject changed from mod_accesslog cookie field support to mod_accesslog cookie field support %{VARNAME}C
  • Description updated (diff)
  • Assignee deleted (jan)

Logging request and response fields is already possibly with %{Cookie}i and %{Set-Cookie}o

Of course, if there are multiple cookies set, then the resulting fields will need to be parsed for a specific cookie value.

It seems like what you're requesting is something akin to Apache mod_log_config "%{VARNAME}C"

#3 Updated by gstrauss 9 months ago

FYI: https://redmine.lighttpd.net/issues/2174 also contains a (different) patch to implement %{VARNAME}C

#4 Updated by gstrauss 9 months ago

  • Target version changed from 1.5.0 to 1.4.x

#5 Updated by gstrauss 9 months ago

  • Status changed from New to Patch Pending
  • Target version changed from 1.4.x to 1.4.40

#6 Updated by gstrauss 9 months ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom