mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 06:46:10 +00:00
more network traffic tracing
This commit is contained in:
parent
957645d752
commit
ff3da4e152
@ -590,7 +590,7 @@ proc p2pProtocolBackendImpl*(p: P2PProtocol): Backend =
|
||||
msg.defineThunk quote do:
|
||||
proc `thunkName`(`daemonVar`: `DaemonAPI`,
|
||||
`streamVar`: `P2PStream`) {.async, gcsafe.} =
|
||||
when `msgNameLit` == "beaconBlocksByRange" and chronicles.runtimeFilteringEnabled:
|
||||
when chronicles.runtimeFilteringEnabled:
|
||||
setLogLevel(LogLevel.TRACE)
|
||||
defer: setLogLevel(LogLevel.DEBUG)
|
||||
trace "incoming beaconBlocksByRange stream"
|
||||
|
Loading…
x
Reference in New Issue
Block a user