Project

General

Profile

Feature #1479

configurable timestamp logging, patch included

Added by mcosby almost 12 years ago. Updated about 10 years ago.

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

100%

Estimated time:
Missing in 1.5.x:
No

Description

This patch adds configurable timestamp logging to lighttpd's mod_accesslog, in the same format as apache's %{format_string}t option.

It keeps the time caching fully intact but adds a new restriction that you can't use %t twice in the same access log specification, since there's only one slot in the cache. I doubt that restriction will impact any current users (there is no point in using %t twice when it's not configurable) and that the vast majority of future users will never notice the restriction.

Associated revisions

Revision 2642 (diff)
Added by stbuehler about 10 years ago

mod_accesslog: configurable timestamp logging (fixes #1479)

Revision ea903c75 (diff)
Added by stbuehler about 10 years ago

mod_accesslog: configurable timestamp logging (fixes #1479)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2642 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1

Updated by glen almost 12 years ago

  • Status changed from New to Assigned

please document the config changes in wiki and doc/accesslog.txt

#2

Updated by stbuehler about 11 years ago

  • Target version changed from 1.4.20 to 1.4.21
#3

Updated by Samuel.Alenty over 10 years ago

Hi, I'm new to Lighty,
I begun using 1.5.0 (trunk) version, and I needed this functionnality (among others :)
I updated mcosby's patch and made it compatible with 1.5.0 (see attachment)

#4

Updated by icy over 10 years ago

  • Target version changed from 1.4.21 to 1.4.22
  • Patch available set to Yes
#5

Updated by stbuehler over 10 years ago

  • Target version changed from 1.4.22 to 1.4.23
#6

Updated by stbuehler over 10 years ago

  • Target version changed from 1.4.23 to 1.4.24
#7

Updated by stbuehler about 10 years ago

  • Status changed from Assigned to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2642.

#8

Updated by stbuehler about 10 years ago

  • Missing in 1.5.x set to No

Also available in: Atom