diff --git a/source/common/http/codec_client.cc b/source/common/http/codec_client.cc index 4c0cee0828809..8bfb3bba3725b 100644 --- a/source/common/http/codec_client.cc +++ b/source/common/http/codec_client.cc @@ -12,6 +12,7 @@ #include "source/common/http/http2/codec_impl.h" #include "source/common/http/status.h" #include "source/common/http/utility.h" +#include "source/server/backtrace.h" #ifdef ENVOY_ENABLE_QUIC #include "source/common/quic/client_codec_impl.h" @@ -156,7 +157,8 @@ void CodecClient::completeRequest(ActiveRequest& request) { } void CodecClient::onReset(ActiveRequest& request, StreamResetReason reason) { - ENVOY_CONN_LOG(debug, "request reset", *connection_); + ENVOY_CONN_LOG(debug, "request reset: {}", *connection_, static_cast(reason)); + BACKTRACE_LOG(); if (codec_client_callbacks_) { codec_client_callbacks_->onStreamReset(reason); }