[CentOS] logrotate

Sun May 29 14:46:40 UTC 2005
Johnny Hughes <mailing-lists at hughesjr.com>

On Sun, 2005-05-29 at 10:24 -0400, William Warren wrote:
> Where are currently used .conf files kept?  the 
> /etc/logrotate.conf file does not contain any useful information.
> 
> 
> This is Centos 4 BTW.
> 

The meat of logrotate is in:

/etc/logrotate.d

The logrotate.conf file reads individual files from there

> replies-lists-centos at listmail.innovate.net wrote:
> 
> > between the man page for logrotate, the /etc/logrotate.conf file and
> > some of the files in the logrotate.d directory you should be able to
> > see all the bits necessary to accomplish what you're after.
> > 
> > the /etc/logrotate.d/exim file gives you an example of wildcarding
> > the files that are included. 
> > 
> > by default, gzip deletes the file when compression is complete, so
> > you don't have a file delete issue. 
> > 
> > you'll probably need to use the "force" option during setup and
> > testing.
> > 
> > 
> > ------------ Original Message ------------
> > 
> >>Date: Sunday, May 29, 2005 10:06:20 AM -0400
> >>From: William Warren <hescominsoon at emmanuelcomputerconsulting.com>
> >>To: CentOS mailing list <centos at centos.org> 
> >>Subject: [CentOS] logrotate
> >>
> >>I am googgling right now but am unable to find a simpler
> >>description of how to get logrotate to do what i want it to do.
> >>
> >>I have a cs 1.6 server that generates quite a bit of logs.  That
> >>log generation is going to increase significantly with one of my
> >>plugins i am going to be installing(logD and the impressive
> >>plugin).  I want to tell logrotate to daily rotate all the logs
> >>inside my /servers/hlds/cstrike/logs folder.  A new log is
> >>generated every map change and when any on-the-fly configuration is
> >>changed.  Over the past 5 days there are 350 logfiles.  How can i
> >>tel logrotate to rotate all of the individual logs in the folder,
> >>when rotating to compress them, store the compressed files in the
> >>same directory..delete the uncompressed logs..and not to delete any
> >>old logs for 6 months?
> >>
> >>
> >>-- 
> >>Computer House Calls, Networks, Security, Web Design:
> >>http://www.emmanuelcomputerconsulting.com
> >>What businesses are in Brunswick, Maryland?  Check Brunswick First!
> >>http://www.checkbrunswickfirst.com
> >>My "Foundation" verse:
> >>Isa 54:17  No weapon that is formed against thee shall prosper; and
> >>every tongue that shall rise against thee in judgment thou shalt
> >>condemn. This is the heritage of the servants of the LORD, and
> >>their righteousness is of me, saith the LORD.
> >>
> >>-- carpe ductum -- "Grab the tape"
> >>CDTT (Certified Duct Tape Technician)
> >>
> >>Linux user #322099
> >>Machines:
> >>206822
> >>256638
> >>276825
> >>http://counter.li.org/
> >>_______________________________________________
> >>CentOS mailing list
> >>CentOS at centos.org
> >>http://lists.centos.org/mailman/listinfo/centos
> > 
> > 
> > ---------- End Original Message ----------
> > 
> > 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050529/8dc79f74/attachment-0005.sig>