1) logging a message
2) trying to restart
PR: 15761
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98576
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) Try to log an error if a piped log program fails. Try to
+ restart a piped log program in more failure situations. PR 15761
+ [Jeff Trawick]
+
*) Fix mod_cern_meta to not create empty metafiles when the
metafile searched for does not exist. PR 12353
[Owen Rees <owen_rees@hp.com>]
switch (reason) {
case APR_OC_REASON_DEATH:
- pl->pid = NULL;
- apr_proc_other_child_unregister(pl);
- if (pl->program == NULL) {
- /* during a restart */
- break;
- }
- break;
case APR_OC_REASON_LOST:
+ ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
+ "piped log program '%s' failed unexpectedly",
+ pl->program);
pl->pid = NULL;
apr_proc_other_child_unregister(pl);
if (pl->program == NULL) {