Refine HTTP status logs (#8098)

Ensure that we don't log a warning for HTTP 202s, which are expected on the blinded block endpoints after Fulu.


Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
Michael Sproul
2025-09-22 15:03:47 +10:00
committed by GitHub
parent c1fb060ae1
commit 1dbc4f861b

View File

@@ -294,10 +294,7 @@ pub fn tracing_logging() -> warp::filters::log::Log<impl Fn(warp::filters::log::
let path = info.path();
let method = info.method().to_string();
if status == StatusCode::OK
|| status == StatusCode::NOT_FOUND
|| status == StatusCode::PARTIAL_CONTENT
{
if status.is_success() {
debug!(
elapsed_ms = %elapsed,
status = %status,