View | Details | Raw Unified | Return to bug 21648
Collapse All | Expand All

(-)log.c (-3 / +3 lines)
Lines 795-809 Link Here
795
    switch (reason) {
795
    switch (reason) {
796
    case APR_OC_REASON_DEATH:
796
    case APR_OC_REASON_DEATH:
797
    case APR_OC_REASON_LOST:
797
    case APR_OC_REASON_LOST:
798
        ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
799
                     "piped log program '%s' failed unexpectedly",
800
                     pl->program);
801
        pl->pid = NULL;
798
        pl->pid = NULL;
802
        apr_proc_other_child_unregister(pl);
799
        apr_proc_other_child_unregister(pl);
803
        if (pl->program == NULL) {
800
        if (pl->program == NULL) {
804
            /* during a restart */
801
            /* during a restart */
805
            break;
802
            break;
806
        }
803
        }
804
        ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
805
                     "piped log program '%s' failed unexpectedly",
806
                     pl->program);
807
        if ((stats = piped_log_spawn(pl)) != APR_SUCCESS) {
807
        if ((stats = piped_log_spawn(pl)) != APR_SUCCESS) {
808
            /* what can we do?  This could be the error log we're having
808
            /* what can we do?  This could be the error log we're having
809
             * problems opening up... */
809
             * problems opening up... */

Return to bug 21648