Subject: | Logfile::Rotate - Problem in using 'Persist' attribute |
Distribution Name : Logfile::Rotate - 1.04
Operating system : AIX
Perl version : 5.8
Problem description:
The 'persist' attribute doesn't work well when using library Gzip
compression. The '_gzip' routine in Rotate.pm doesn't preserve the file
attributes. The timestamp on the compressed file has the current time of the job run.
Also in the documentation, it is mentioned that "the Post function is passed the current filename that was rotated and that file's new filename including any extension added by compression". But the new filename is passed without the compression extension.
WishList:
It would be very much helpful if there is an attribute to prevent creation of empty files during log rolling.
Thanks,
Babu