mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +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:
|
msg.defineThunk quote do:
|
||||||
proc `thunkName`(`daemonVar`: `DaemonAPI`,
|
proc `thunkName`(`daemonVar`: `DaemonAPI`,
|
||||||
`streamVar`: `P2PStream`) {.async, gcsafe.} =
|
`streamVar`: `P2PStream`) {.async, gcsafe.} =
|
||||||
when `msgNameLit` == "beaconBlocksByRange" and chronicles.runtimeFilteringEnabled:
|
when chronicles.runtimeFilteringEnabled:
|
||||||
setLogLevel(LogLevel.TRACE)
|
setLogLevel(LogLevel.TRACE)
|
||||||
defer: setLogLevel(LogLevel.DEBUG)
|
defer: setLogLevel(LogLevel.DEBUG)
|
||||||
trace "incoming beaconBlocksByRange stream"
|
trace "incoming beaconBlocksByRange stream"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user