Skip to content

Commit

Permalink
feat: http request content log (#1736)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi committed Oct 10, 2022
1 parent 088f4e6 commit 3f9309c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/source/clients/httpprotocol/http_source_client.go
Expand Up @@ -318,7 +318,7 @@ func (client *httpSourceClient) doRequest(method string, request *source.Request
}
}

logger.Debugf("request %s %s header: %#v", method, request.URL.String(), request.Header)
logger.Debugf("request %s %s header: %#v", method, req.URL.String(), req.Header)
resp, err := client.httpClient.Do(req)
if err != nil {
return nil, err
Expand Down

0 comments on commit 3f9309c

Please sign in to comment.