Checks the date of the last rotation of the log files