the module hangs in case there is no disk space.
Log::Dispatch::FileRotate is a wrapper around Log::Dispatch::File, which prints messages to a file.
What exactly would you want Log::Dispatch::FileRotate to do when you run out of disk space? Return immediately and hide the possibly corrupt state of your system? Would it not be better if you detect you're low on disk and deal with it instead?
| [reply] |
From my pov the calling module/program should die/croak and the calling program should have the choice to handle the die/croak via eval or to die as well.
Checking disk space/permission etc. involves also the chance to run into a race between check and change of disk space thus an improved error handling would be highly appreciated.
| [reply] |