Path: usenet.cise.ufl.edu!huron.eel.ufl.edu!usenet.eel.ufl.edu!uky.edu!stdio!209.155.56.21.MISMATCH!pln-e!extra.newsguy.com!lotsanews.com!nntprelay.mathworks.com!news-xfer.netaxs.com!nac!nntp.teleport.com!news.teleport.com!not-for-mail
From: Paul Gampe <[email protected]>
Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules
Subject: ANNOUNCE: Logfile::Rotate 0.12
Followup-To: comp.lang.perl.modules
Date: 26 Mar 1998 19:20:11 GMT
Organization: Twics Co. Ltd., Japan  http://www.twics.com
Lines: 63
Sender: [email protected]
Approved: [email protected] (comp.lang.perl.announce)
Message-ID: <[email protected]>
Reply-To: Paul Gampe <[email protected]>
NNTP-Posting-Host: gadget.cscaper.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cise.ufl.edu comp.lang.perl.announce:33 comp.lang.perl.modules:614

Name             DSLI  Description                                  Info
-----------      ----  -------------------------------------------- -----
Logfile::Rotate  adpO  Perl module to rotate logfiles               PAULG

RELEASE:
   Version: 0.12

NAME
   Logfile::Rotate - Perl module to rotate logfiles.

SYNOPSIS
   use Logfile::Rotate;
   my $log = new Logfile::Rotate( File  => '/var/adm/syslog',
                                  Gzip  => 'no' );

   $log->rotate();

INSTALL
   perl Makefile.PL
   make
   make install

CHANGES
   Added reference to Changes file for credits to contributions.

   Switched from File::Copy::copy to File::Copy::move for rotating the
   old logfiles, to preserve permissions and reduce disk space
   consumption.  File::Copy::move will try to do a rename.  Suggested by:
   webmaster <[email protected]>
   and "Mike Arms (6531)" <[email protected]>.

   Added code to copy the current log file permissions to first
   incremental.  Code and concept by: "Mike Arms (6531)"
   <[email protected]>.

   Added an argument Signal so that you can get a callback function
   executed as soon as the rotation is complete.  Code and ideas
   contributed by:  "M. S. Sriram" <[email protected]>,
   and Mike Frohme <[email protected]>

AVAILABILITY
   http://www.twics.com/~paulg/modules/

   and at all CPAN mirrors

COPYRIGHT
  See the man page.


Enjoy and thanks for all the feedback, Paul.



--------------------------------------------------------------------------
mailto:[email protected]     phoneto:81-3-3351-5977     faxto:81-3-3353-6096
The students learn that effective action arises out of silence and a clear
sense of being.  In this they find a source of peace.  They  discover that
the person who is down-to-earth can do what needs doing  more  effectively
than the person who is merely busy.  - Lao Tzu's    "Tao Te Ching"   500BC
--------------------------------------------------------------------------