ログのローテート設定(logrotate)
# sudo vi /etc/logrotate.d/rails /var/www/imprint_system/current/log/*log { daily missingok rotate 14 dateext dateformat _%Y%m%d compress copytruncate ifempty su ec2-user ec2-user }
# sudo vi /etc/logrotate.d/rails /var/www/imprint_system/current/log/*log { daily missingok rotate 14 dateext dateformat _%Y%m%d compress copytruncate ifempty su ec2-user ec2-user }