[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@linux-source.org>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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list