Gack, must call "select STDOUT" after the reopen operation, since we
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.
Showing with 3 additions and 0 deletions