log request pattern matching