diff --git a/dbms/src/Server/OLAPHTTPHandler.cpp b/dbms/src/Server/OLAPHTTPHandler.cpp index 758236d5442..53766fcd473 100644 --- a/dbms/src/Server/OLAPHTTPHandler.cpp +++ b/dbms/src/Server/OLAPHTTPHandler.cpp @@ -65,6 +65,9 @@ namespace DB try { LOG_TRACE(log, "Request URI: " << request.getURI()); + std::stringstream request_body; + request_body << request.stream().rdbuf(); + LOG_TRACE(log, "Request body: " << request_body.str()); processQuery(response, request.stream());