https://rtcamp.com/tutorials/linux/logrotate/
Logrotate Example for Custom Logs