Is there a way around that??? Like run a command to get all the filenames then pipe it to the config directive /path/to/logs/access_log.www.*.(com|org|net|us) {} in logrotate.conf? Sol -----Original Message----- From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Luciano Rocha Sent: Wednesday, September 23, 2009 11:39 AM To: CentOS mailing list Subject: Re: logrotate and regular expressions On Wed, Sep 23, 2009 at 11:33:32AM -0400, Sol Fulop wrote: > I am trying to use logrotate to rotate our web logs for our various > vhosted sites to cut down on space and rotate out old logs that are > not necessary to keep around personally. What Im curious to find out, > is how supported extended regular expressions is within the > logrotate.conf file. More specifically, will logrotate be smart > enough to decipher the > following: > > /path/to/logs/access_log.www.*.(com|org|net|us) AFAIK, logrotate doesn't support regular expressions, only wildcards (* and ?). -- lfr 0/0 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos