• Leigh B Stoller's avatar
    Gack, must call "select STDOUT" after the reopen operation, since we · 84a6e9fe
    Leigh B Stoller authored
    used "select STDERR" to change the line buffering. The result was that
    after the log roll, the child was printing to STDERR instead of
    STDOUT, and so the parent never saw any new events.
    Note that USR1 (re-exec binary) does not work since exec bypasses the
    END block, and things get messed up. Not fixed yet.
stated.in 55.5 KB