Project

General

Profile

Actions

Feature #1293

closed

[PATCH] Allow disabling of access log in specific directories

Added by Anonymous about 17 years ago. Updated over 15 years ago.

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

Description

This patch allows a user to disable logging in a specific directory. Right now, as a hack, I set the file name to /dev/null to do this. However, that's ugly and wastes cpu power generating useless log entries. This patch allows you to set an empty file name, which effectively disables logging for that configuration.

-- bmaurer


Files

lighttpd-empty-accesslog.patch (1.06 KB) lighttpd-empty-accesslog.patch patch -- bmaurer Anonymous, 2007-08-08 23:53
Actions #1

Updated by darix about 17 years ago

a more simple approach is to not define a global access log and only configure it inside the conditionals where you really want it.

what do you think about that?

Actions #2

Updated by Anonymous about 17 years ago

My setup has quite a few conditionals, few of which need logging omitted. I'd also be worried about adding a conditional and forgetting to add logging.

Given that in a conditional you can change the location of the log, it seems only logical that you can also choose to have the log omitted.

-- bmaurer

Actions #3

Updated by stbuehler about 16 years ago

  • Target version changed from 1.4.20 to 1.4.21
Actions #4

Updated by icy over 15 years ago

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

Updated by stbuehler over 15 years ago

  • Target version changed from 1.4.22 to 1.4.23
Actions #6

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • Target version changed from 1.4.23 to 1.4.20

Fixed in r2162

Actions

Also available in: Atom