arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 395 forks source link

Upstart log settings are made for demons #283

Open wackazong opened 9 years ago

wackazong commented 9 years ago

I just discovered that the upstart log settings on a fresh Ubuntu 14.04 are pretty lax, daily log rotation and the log files are kept for a week only. Something you do not want to have for a production app.

To change that you need to edit /etc/logrotate.d/upstart. I use this config:

/var/log/upstart/*.log {
        weekly
        size 20M
        missingok
        rotate 52
        notifempty
        nocreate
}
arunoda commented 9 years ago

I'd like to you to add this into our wiki and send a PR by adding it to the home page.