Logfile-Rotate
view release on metacpan or search on metacpan
Logfile-Rotate.man.html view on Meta::CPAN
<!--
<UL>
<LI><A HREF="#name">NAME</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<UL>
<LI><A HREF="#optional compression">Optional Compression</A></LI>
<LI><A HREF="#optional relocation directory">Optional Relocation Directory</A></LI>
</UL>
<LI><A HREF="#warning">WARNING</A></LI>
<LI><A HREF="#dependancies">DEPENDANCIES</A></LI>
<LI><A HREF="#copyright">COPYRIGHT</A></LI>
<LI><A HREF="#see also">SEE ALSO</A></LI>
<LI><A HREF="#return">RETURN</A></LI>
<LI><A HREF="#author">AUTHOR</A></LI>
</UL>
-->
Logfile-Rotate.man.html view on Meta::CPAN
directs the program to load the <CODE>Compress::Zlib</CODE> module, if available
and use it do the compression within perl. <STRONG>This avoids the security
issues associated with spawning external programs and is the recommended
value for this option.</STRONG></P>
<P>If no argument is defined it will first check to see if the
<CODE>Compress::Zlib</CODE> module can be loaded then check the perl <EM>Config</EM> to
determine if gzip is available on your system. In this case the <EM>gzip</EM>
must be in your current path to succeed, and accept the <CODE>-f</CODE> option.</P>
<P>See the <A HREF="#warning">WARNING</A> section below.</P>
<P>
<H2><A NAME="optional relocation directory">Optional Relocation Directory</A></H2>
<P>If you specify an argument for <CODE>Dir</CODE> then the file being rotated will
be relocated to the directory specified. Along with any other files
that may have been rotated previously. If the directory name specified
does not exist then it will be created with <CODE>0750</CODE> permissions. If you
wish to have other permissions on the directory then I would recommend
you create the directory before using this module.</P>
<P>See the <A HREF="#warning">WARNING</A> section below.</P>
<P>
<HR>
<H1><A NAME="warning">WARNING</A></H1>
<P>If a system call is made to <EM>gzip</EM> this makes this module vulnerable to
security problems if a rogue gzip is in your path or <EM>gzip</EM> has been
`Compress::Zlib' module can be loaded then check the perl the Config
manpage to determine if gzip is available on your system. In this case
the the gzip manpage must be in your current path to succeed, and accept
the `-f' option.
See the the section on "WARNING" section below.
Optional Relocation Directory
If you specify an argument for `Dir' then the file being rotated will be
relocated to the directory specified. Along with any other files that
may have been rotated previously. If the directory name specified does
not exist then it will be created with `0750' permissions. If you wish
to have other permissions on the directory then I would recommend you
create the directory before using this module.
See the the section on "WARNING" section below.
WARNING
If a system call is made to gzip this makes this module vulnerable to
security problems if a rogue gzip is in your path or gzip has been
If no argument is defined it will first check to see if the
C<Compress::Zlib> module can be loaded then check the perl L<Config> to
determine if gzip is available on your system. In this case the L<gzip>
must be in your current path to succeed, and accept the C<-f> option.
See the L<"WARNING"> section below.
=head2 Optional Relocation Directory
If you specify an argument for C<Dir> then the file being rotated will
be relocated to the directory specified. Along with any other files
that may have been rotated previously. If the directory name specified
does not exist then it will be created with C<0750> permissions. If you
wish to have other permissions on the directory then I would recommend
you create the directory before using this module.
See the L<"WARNING"> section below.
=head1 WARNING
If a system call is made to F<gzip> this makes this module vulnerable to
( run in 1.115 second using v1.01-cache-2.11-cpan-5511b514fd6 )