\n only flushes when writing to STDOUT and only when it's connected to a terminal. That's not the case here.
Autoflushing can be turned on using
use IO::Handle qw( ); LOG->autoflushing(1);
In reply to Re^2: Daemon problem with sleep()
by ikegami
in thread Daemon problem with sleep()
by MichaelMeyer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |