Fixing log checks.