Feature #1293

[PATCH] Allow disabling of access log in specific directories

Added by Anonymous 518 days ago. Updated 91 days ago.

Status:New Start:
Priority:Normal Due date:
Assigned to:jan % Done:

0%

Category:mod_accesslog
Target version:1.4.21
Pending:

No

Resolution:


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

lighttpd-empty-accesslog.patch - patch -- bmaurer (1.1 KB) Anonymous, 08/08/2007 11:53 PM

History

08/13/2007 11:53 AM - darix

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?

08/13/2007 03:16 PM - Anonymous

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

10/08/2008 07:02 PM - stbuehler

  • Target version changed from 1.4.20 to 1.4.21

Also available in: Atom PDF