Project

General

Profile

Feature #1393

access log pipe writer should restart child process if it exits

Added by Anonymous about 10 years ago. Updated 5 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_accesslog
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

Description

Using accesslog.filename = "|foo", if lighttpd sees the child exit, it should restart it. Otherwise, all access.log entries from that point on are lost.

-- tv

Associated revisions

Revision a9970fec (diff)
Added by gstrauss 5 months ago

[core] consolidate fork()/execve() code (#1393)

(refactoring work to address issue #1393)

x-ref:
"access log pipe writer should restart child process if it exits"
https://redmine.lighttpd.net/issues/1393

Revision adeec956 (diff)
Added by gstrauss 5 months ago

[core] restart piped loggers if they exit (fixes #1393)

x-ref:
"access log pipe writer should restart child process if it exits"
https://redmine.lighttpd.net/issues/1393

History

#1

Updated by gstrauss over 1 year ago

  • Tracker changed from Bug to Feature
  • Description updated (diff)
  • Assignee deleted (jan)
  • Target version deleted (1.5.0)

Not a bug. This is a feature request.

Piped loggers are generally fairly simple and should not exit unless signalled by lighttpd or if lighttpd exits and piped logger reads 0 bytes (indicating end of stream on pipe)

#2

Updated by gstrauss 5 months ago

  • Status changed from New to Patch Pending
  • Target version set to 1.4.46
#3

Updated by gstrauss 5 months ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom