in reply to Log::Dispatch::FileRolling ?


If no error is thrown, how do you know that it "died"?

You may want to use Log::Dispatch::File::Rolling instead of Log::Dispatch::FileRolling like you did in the code shown (note the third ::).

Replies are listed 'Best First'.
Re^2: Log::Dispatch::FileRolling ?
by chanakya (Friar) on Feb 16, 2010 at 06:03 UTC
    Aah! I knew it should be simple error.
    I was using Proc::Daemon within the script, with this enable the script did not show the error, I should have commented it out.

    Thanks for catching the error. The code works now.