Skip to content

Commit 039c6ae

Browse files
committed
tracing: adjusted network traces
* Trace BlockFetch decisions * Trace ConnectionManagerCounters * Trace PeerSelection Removed `TraceOptionPeerFrequence = 2000`; it will no longer be needed. We can remove it now, since `2000` is the default anyway.
1 parent a942595 commit 039c6ae

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

cardano-lib/generic-log-config.nix

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
# set in downstream code where the node's name is known.
1818
# TraceOptionNodeName =
1919

20-
# The frequency of peer messages.
21-
TraceOptionPeerFrequency = 2000;
22-
2320
# The frequency of resource messages.
2421
TraceOptionResourceFrequency = 1000;
2522

@@ -84,23 +81,20 @@
8481

8582
# The following tracer configurations are configured to closely match the
8683
# default logging seen in the legacy cardano-node tracing system.
87-
"BlockFetch.Decision".severity = "Silence";
84+
"BlockFetch.Decision".severity = "Info";
8885
"ChainDB.AddBlockEvent.AddBlockValidation".severity = "Silence";
8986
"ChainDB".severity = "Info";
9087
"ChainSync.Client".severity = "Warning";
9188
"Forge.Loop".severity = "Info";
9289
"Forge.StateInfo".severity = "Info";
9390
"Mempool".severity = "Info";
94-
"Net.ConnectionManager.Remote.ConnectionManagerCounters".severity = "Silence";
9591
"Net.ConnectionManager.Remote".severity = "Info";
9692
"Net.ErrorPolicy.Local".severity = "Info";
9793
"Net.ErrorPolicy".severity = "Info";
9894
"Net.InboundGovernor.Remote".severity = "Info";
9995
"Net.InboundGovernor".severity = "Warning";
10096
"Net.Mux.Remote".severity = "Info";
101-
"Net.PeerSelection".severity = "Silence";
102-
"Net.Subscription.DNS".severity = "Info";
103-
"Net.Subscription.IP".severity = "Info";
97+
"Net.PeerSelection".severity = "Info";
10498
"Resources".severity = "Silence";
10599
"Startup.DiffusionInit".severity = "Info";
106100

0 commit comments

Comments
 (0)