log request method