in reply to Rolling over a Parser File
... and there is also the standard recommendation for the fine Log::Log4perl modules.
See also Log::Dispatch::FileRotate.
A nice introduction can be found here: Retire your debugger, log smartly with Log::Log4perl!
If you just need a lightweight implementation, stay with FunkyMonks solution above, though.
|
---|