monitoring logs only if they exist