Skip to content

Instantly share code, notes, and snippets.

@inscapist
Created February 23, 2016 03:30
Show Gist options
  • Save inscapist/608d3c52a84cac6a254c to your computer and use it in GitHub Desktop.
Save inscapist/608d3c52a84cac6a254c to your computer and use it in GitHub Desktop.
logrotate for production log
/home/ubuntu/lending_platform/log/production.log {
weekly
missingok
rotate 5
compress
delaycompress
notifempty
create 0644 ubuntu ubuntu
maxsize 2M
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment