[CentOS] logrotate and regular expressions
James Pearson
james-p at moving-picture.comWed Sep 23 16:00:32 UTC 2009
- Previous message: [CentOS] logrotate and regular expressions
- Next message: [CentOS] logrotate and regular expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sol Fulop wrote:
> 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?
You might be able to do something like:
/path/to/logs/access_log.www.*.com /path/to/logs/access_log.www.*.org ... {}
James Pearson
- Previous message: [CentOS] logrotate and regular expressions
- Next message: [CentOS] logrotate and regular expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list