Project

General

Profile

Feature #1293

[PATCH] Allow disabling of access log in specific directories

Added by Anonymous almost 13 years ago. Updated about 11 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
#1

Updated by darix almost 13 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?

#2

Updated by Anonymous almost 13 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

#3

Updated by stbuehler almost 12 years ago

  • Target version changed from 1.4.20 to 1.4.21
#4

Updated by icy over 11 years ago

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

Updated by stbuehler over 11 years ago

  • Target version changed from 1.4.22 to 1.4.23
#6

Updated by stbuehler about 11 years ago

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

Fixed in r2162

Also available in: Atom