Project

General

Profile

Actions

Feature #2480

closed

[patch] mod_accesslog: allow custom loglevel

Added by arved almost 12 years ago. Updated over 11 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_accesslog
Target version:
ASK QUESTIONS IN Forums:

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


Files

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

Updated by stbuehler over 11 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"

Actions #2

Updated by stbuehler over 11 years ago

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

Applied in changeset r2899.

Actions

Also available in: Atom