Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cd /etc/
- # sudo nano/vim logrotate.conf
- # add to end of file
- # rotate app logs
- / PATH TO APP LOGS /current/log/*.log {
- daily
- missingok
- rotate 7
- compress
- delaycompress
- notifempty
- copytruncate
- }
Add Comment
Please, Sign In to add comment