[PATCH] Allow disabling of access log in specific directories
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.
Updated by darix over 15 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 15 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.
Updated by stbuehler over 14 years ago
- Target version changed from 1.4.20 to 1.4.21
Updated by icy about 14 years ago
- Target version changed from 1.4.21 to 1.4.22
- Patch available set to No
Updated by stbuehler about 14 years ago
- Target version changed from 1.4.22 to 1.4.23
Updated by stbuehler almost 14 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