[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Log rotation

On Tue, Apr 01, 2003 at 12:06:27PM -0500, Mike M wrote:
> > I guess the last resort would be to create some sort of shell script
> > that would run in cron once a day and delete the oldest file in the log
> > directory.
> Sounds like a good solution if you have log files that always get a unique 
> name, like Mon.20030331.log.  I am not sure if logrotate can handle filenames 
> like Mon.*.log.  

Drat. Yes, the files are created with daemon-MM-DD-YYYY with no
extension. I guess shell scripts are the only recourse.

Thanks for the reply.


  Matthew Daubenspeck

Reply to: