more restrictive log input matching