Skip to content

Commit

Permalink
enable logging of http response in json
Browse files Browse the repository at this point in the history
  • Loading branch information
meyertst-aws committed May 1, 2024
1 parent b50433a commit b04c029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aws-cpp-sdk-core/source/http/curl/CurlHttpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ int CurlDebugCallback(CURL *handle, curl_infotype type, char *data, size_t size,
else if (type == CURLINFO_DATA_IN || type == CURLINFO_DATA_OUT)
{
//for curl data (in/out) traces, print only the data size, as it contains user private data.
AWS_LOGSTREAM_TRACE("CURL", "(" << CurlInfoTypeToString(type) << ") " << size << " bytes");
AWS_LOGSTREAM_TRACE("CURL", "(" << CurlInfoTypeToString(type) << ") " << std::string(data, size)); // do not push meyertst
}
else
{
Expand Down

0 comments on commit b04c029

Please sign in to comment.