2008-07-15 apache 2.2.9 + passenger でログローテーション httpd passenger Ruby Rails 多分、これで良いと思うんだけど... $ cat /etc/logrotate.d/httpd /usr/local/apache2/logs/*log /work2/Dr.WEB/rails/*/log/production.log { daily rotate 10 missingok compress notifempty sharedscripts postrotate /bin/kill -HUP `cat /usr/local/apache2/logs/httpd.pid 2>/dev/null` 2> /dev/null || true endscript }