From 7eaab1b0ca1f8b3ff8393c436062bc13e609c1d4 Mon Sep 17 00:00:00 2001 From: Edmund Noble Date: Fri, 24 May 2024 19:29:03 -0400 Subject: [PATCH] log: warp server errors at Debug level These errors are not concerning individually unless we're debugging an existing issue. Change-Id: I09b16e5db5ddf1472de685ecf450b72e685b9fd3 --- changes/2024-05-30T145831-0400.txt | 1 + src/Chainweb/Chainweb.hs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/2024-05-30T145831-0400.txt diff --git a/changes/2024-05-30T145831-0400.txt b/changes/2024-05-30T145831-0400.txt new file mode 100644 index 0000000000..3b08f028fc --- /dev/null +++ b/changes/2024-05-30T145831-0400.txt @@ -0,0 +1 @@ +Log warp HTTP server errors at Info level diff --git a/src/Chainweb/Chainweb.hs b/src/Chainweb/Chainweb.hs index 683d6f8207..3c151b7d60 100644 --- a/src/Chainweb/Chainweb.hs +++ b/src/Chainweb/Chainweb.hs @@ -792,7 +792,7 @@ runChainweb cw nowServing = do return () | otherwise = when (defaultShouldDisplayException e) $ - logg Warn $ loggServerError msg r e + logg Debug $ loggServerError msg r e -- P2P Server