Сабж игнорирует первую "*"
На одном сервере все правильно обрабатывается, а на втором - ни в какую!
logrotate-3.7.9 Daemon to rotate, compress, remove and mail system log file
# cat /etc/etc2/logrotate.d/nginx.conf
/var/log/nginx/*.log /www/*/data/logs/*.log {
daily
missingok
rotate 30
compress
delaycompress
notifempty
sharedscripts
postrotate
[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
endscript
noolddir
}
# /usr/local/sbin/logrotate -d /usr/local/etc/logrotate.conf
reading config file /usr/local/etc/logrotate.conf
including /usr/local/etc/logrotate.d/
reading config file nginx.conf
reading config info for /var/log/nginx/*.log /www/*/data/logs/*.logHandling 1 logs
rotating pattern: /var/log/nginx/*.log /www/*/data/logs/*.log after 1 days (30 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/nginx/access.log
log does not need rotating
considering log /var/log/nginx/error.log
log does not need rotating
not running postrotate script, since no logs were rotated