Feature #1479

configurable timestamp logging, patch included

Added by mcosby about 7 years ago. Updated about 5 years ago.

Status:FixedStart date:
Priority:NormalDue date:
Assignee:glen% Done:

100%

Category:mod_accesslog
Target version:1.4.24
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.

mod_accesslog_configurable_timestamp.patch Magnifier - patch (5.56 KB) mcosby, 2007-12-04 02:45

mod_accesslog_configurable_timestamp_1.5.patch Magnifier (5.71 KB) Samuel.Alenty, 2009-01-28 11:45

Associated revisions

Revision 2642
Added by stbuehler about 5 years ago

mod_accesslog: configurable timestamp logging (fixes #1479)

History

#1 Updated by glen almost 7 years ago

  • Status changed from New to Assigned

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

#2 Updated by stbuehler about 6 years ago

  • Target version changed from 1.4.20 to 1.4.21

#3 Updated by Samuel.Alenty almost 6 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 almost 6 years ago

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

#5 Updated by stbuehler almost 6 years ago

  • Target version changed from 1.4.22 to 1.4.23

#6 Updated by stbuehler over 5 years ago

  • Target version changed from 1.4.23 to 1.4.24

#7 Updated by stbuehler about 5 years ago

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

Applied in changeset r2642.

#8 Updated by stbuehler about 5 years ago

  • Missing in 1.5.x set to No

Also available in: Atom