-
Notifications
You must be signed in to change notification settings - Fork 631
[CBR-275] stack logging ontop of 'katip', provides structured logging #3533
Conversation
1f63bbf
to
badf129
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we split this into a "clean up interface" PR and a "first steps to Katip" PR?
This makes the changes (and importantly the potential interactions) clearer - the "clean up" should just be reducing the "surface area" - the replacement should just be the interface module (plus the essential changes to things like logging initialisation) as the PR sequence progresses
yes, moved interface adaptation to PR #3534 |
7d35904
to
9fea606
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved as is, but I do think it can be improved by removing the use of RecordWildCards there.
954c5ea
to
e8c06c0
Compare
5809c0a
to
0bd6ee0
Compare
Large number of commits added since my review.
b9c0fdb
to
5b208bb
Compare
next steps:
|
@@ -197,7 +200,7 @@ withClient streamWindow transport logic serverAddress@(Node.NodeId _) k = do | |||
, fdcLastKnownBlockVersion = blockVersion | |||
, fdcConvEstablishTimeout = 15000000 -- us | |||
, fdcStreamWindow = streamWindow | |||
, fdcTrace = wlogTrace ("client" <> "diffusion") | |||
, fdcTrace = wlogTrace ("client.diffusion") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
c26567e
to
acd8c64
Compare
thank you @erikd for reviewing |
d684388
to
468b27d
Compare
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
… to 'cardano-sl' Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
468b27d
to
77f2e11
Compare
rebased on |
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
77f2e11
to
9365bcb
Compare
…logging-interface [CBR-275] stack logging ontop of 'katip', provides structured logging
…hk/adiemand/CBR-275/mimic-logging-interface [CBR-275] stack logging ontop of 'katip', provides structured logging
Description
we adapt our abstract interface
Pos.Util.Wlog
and direct output to 'katip'.this should allow a transition from 'log-warper' to 'katip' with minimal changes to the overall codebase.
Linked issue
CBR-97 (user story)
CBR-275
Type of change
Developer checklist
Testing checklist
QA Steps
CI
scripts/bench/runbench.sh