Moves another noisy log to QUICHE_VLOG(1).
This addresses another request from https://github.com/envoyproxy/envoy/issues/19544.
PiperOrigin-RevId: 421849059
diff --git a/http2/adapter/nghttp2_session.cc b/http2/adapter/nghttp2_session.cc
index 13867bd..6db6e4a 100644
--- a/http2/adapter/nghttp2_session.cc
+++ b/http2/adapter/nghttp2_session.cc
@@ -25,9 +25,10 @@
// Can't invoke want_read() or want_write(), as they are virtual methods.
const bool pending_reads = nghttp2_session_want_read(session_.get()) != 0;
const bool pending_writes = nghttp2_session_want_write(session_.get()) != 0;
- QUICHE_LOG_IF(WARNING, pending_reads || pending_writes)
- << "Shutting down connection with pending reads: " << pending_reads
- << " or pending writes: " << pending_writes;
+ if (pending_reads || pending_writes) {
+ QUICHE_VLOG(1) << "Shutting down connection with pending reads: "
+ << pending_reads << " or pending writes: " << pending_writes;
+ }
}
int64_t NgHttp2Session::ProcessBytes(absl::string_view bytes) {