Project

General

Profile

Actions

Feature #3101

closed

RFE: de-dup file and piped loggers

Added by gstrauss 3 months ago. Updated 3 months ago.

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

Description

RFE: de-dup file and piped loggers if repeated in lighttpd.conf

Current comment from src/configfile.c:config_log_error_open():
/* Note: implementation does not de-dup repeated files or pipe commands */

Please re-implement to de-duplicate.

Actions #1

Updated by gstrauss 3 months ago

A fairly large set of commits have been pushed to my dev branch. These changes deduplicate file and piped loggers and release log buffers each minute (64 seconds). If you previously had repeated/duplicated access logs and/or error logs, then these changes will result in fewer open fds and slightly lower memory usage due to reduction of independent log buffers.

I need to do additional testing before promoting to the master branch.

Actions #2

Updated by gstrauss 3 months ago

  • Status changed from Patch Pending to Fixed
Actions

Also available in: Atom