[CentOS] logrotate and regular expressions

Wed Sep 23 15:33:32 UTC 2009
Sol Fulop <sfulop at core101.com>

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)

 

The filename format for my logs are:
access_log.www.domain.com/net/org/us.

 

Thank you in advance.

 

Sol

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090923/c7409a07/attachment-0003.html>