Project

General

Profile

Feature #2480

[patch] mod_accesslog: allow custom loglevel

Added by arved over 3 years ago. Updated about 3 years ago.

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

100%

Missing in 1.5.x:
No

Description

if accesslog.use-syslog is enabled, lighty logs to syslog with the loglevel daemon.info.

I needed to log to a different level, so that the accesslog doesn't clobber the more important info log messages.

The following patch allows specifying a loglevel for the accesslog

for example:

accesslog.use-syslog = "enable"
accesslog.loglevel = 7

would log to daemon.debug

patch-loglevel (2.59 KB) arved, 2013-03-11 16:09

Associated revisions

Revision c26b0f96 (diff)
Added by stbuehler about 3 years ago

[mod_accesslog] add accesslog.syslog-level option (fixes #2480)

From: Stefan Bühler <>

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

Revision 2899 (diff)
Added by stbuehler about 3 years ago

[mod_accesslog] add accesslog.syslog-level option (fixes #2480)

From: Stefan Bühler <>

History

#1 Updated by stbuehler over 3 years ago

  • Target version set to 1.4.33

Small bug in the buffer_is_equal_string call: compares with "accesslog.use-syslog", should compare with "accesslog.loglevel"

#2 Updated by stbuehler about 3 years ago

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

Applied in changeset r2899.

Also available in: Atom