in reply to
Re: Daemon problem with sleep()
in thread
Daemon problem with sleep()
Hi almut, you were right, it was a buffering problem with explicit flushing now it works. Thanks for the help!
Comment on
Re^2: Daemon problem with sleep()
Replies are listed 'Best First'.
Re^3: Daemon problem with sleep()
by
targetsmart
(Curate)
on Dec 17, 2008 at 14:28 UTC
Even after proper flushing, don't forget to rotate your log file properly using log4perl or log::agent modules, otherwise your log file may reach the maximum allowed file size by the OS and soon it may lead to catastrophic situations.
[reply]
In Section
Seekers of Perl Wisdom