Continuously monitor logs with tail that are occasionally rotated
Ah, there’s a flag for this. instead of using tail -f /var/log/file we should be using tail -F /var/log/file tail -F translates to tail –follow=name –retry as in; –follow=name: follow the name of the file instead of the file descriptor –retry: if the file is inaccessible, try again later instead of dying