IntersectMBO / IntersectMBO/ouroboros-network

Trace target agency together with mini-protocol messsage

Open
#2,619 0 comments 0 reactions 0 assignees View on GitHub
logging typed-protocols
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

Some messages can only be differentiated by the target state rather, e.g. below is an example of `MsgRequestTxIds` which might be blocking or non-blocking but this would be visible in the logs only if we logged the target state as well:
```
[fozzie:cardano.node.TxSubmissionProtocol:Debug:55] [2020-09-18 10:25:18.10 UTC] [String "ConnectionId {localAddress = 127.0.0.1:7776, remoteAddress = 127.0.0.1:7777}",String "Recv",Object (fromList [("kind",String "MsgRequestTxIds"),("agency",String "ServerAgency TokIdle")])]
```

This might be non-trivial to do as we are not tracking the target state in `typed-protocols`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.