Skip to content

Commit

Permalink
log: warp server errors at Debug level
Browse files Browse the repository at this point in the history
These errors are not concerning individually unless we're 
debugging an existing issue.

Change-Id: I09b16e5db5ddf1472de685ecf450b72e685b9fd3
  • Loading branch information
edmundnoble committed May 30, 2024
1 parent b937bce commit 2581999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/2024-05-30T145831-0400.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Log warp HTTP server errors at Info level
2 changes: 1 addition & 1 deletion src/Chainweb/Chainweb.hs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ runChainweb cw nowServing = do
inc clientClosedConnectionsCounter
| otherwise =
when (defaultShouldDisplayException e) $
logg Warn $ loggServerError msg r e
logg Debug $ loggServerError msg r e

-- P2P Server

Expand Down

0 comments on commit 2581999

Please sign in to comment.