Skip Menu |

This queue is for tickets about the Logfile-Rotate CPAN distribution.

Report information
The Basics
Id: 2286
Status: stalled
Worked: 30 min
Priority: 0/
Queue: Logfile-Rotate

People
Owner: pgampe [...] users.sourceforge.net
Requestors: babu.muthukumaran [...] target.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)

Attachments


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
Hi Babu, I've re-ordered the compression and persist methods and this looks to have resolved this problem. Could you please check if the attached version solves the problem in your case? I'll publish this version to CPAN if you can confirm success for me. Apologies for the llooonnng delay. Paul [guest - Tue Mar 25 18:33:59 2003]: Show quoted text
> 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 >
Download Logfile-Rotate-1.07.tar.gz
application/x-tgz 11.5k

Message body not shown because it is not plain text.