Feature #1293

[PATCH] Allow disabling of access log in specific directories

Added by Anonymous over 12 years ago. Updated over 10 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Missing in 1.5.x:


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 (1.06 KB) lighttpd-empty-accesslog.patch patch -- bmaurer Anonymous, 2007-08-08 23:53

Updated by darix over 12 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?


Updated by Anonymous over 12 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


Updated by stbuehler over 11 years ago

  • Target version changed from 1.4.20 to 1.4.21

Updated by icy almost 11 years ago

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

Updated by stbuehler almost 11 years ago

  • Target version changed from 1.4.22 to 1.4.23

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