Make sure old log is purged and backed up every time the next day is reached