Re: logrotate - directory

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

 



Sorry, I was not clear. This is my scenario.

I have the following:

[server]# ls /var/log/syslog/mysql1/
2010.05.01/filename{1,2}.log
2010.05.02/filename{1,2}.log
2010.05.03/filename{1,2}.log
2010.05.04/filename{1,2}.log
2010.05.05/filename{1,2}.log


Question, how can I logrotate those directory that first compress, then the
retention period is 6 months? The archive logs will be remove after 6
months.

Thanks.

James

On Wed, May 26, 2010 at 9:54 AM, James Corteciano <james@xxxxxxxxxxxxxxxx>wrote:

> Hi All,
>
> How to configure the logrotate that logs will be compressed daily and will
> have no number sequence (messages.1.gz) and like this (mesages.gz)
>
> Thanks.
> James
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux