Skip to content

Commit

Permalink
workbench: integrate new logging
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfire committed Sep 8, 2021
1 parent a805c6e commit 9f60f43
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions nix/workbench/profiles/node-services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,39 @@ let
Protocol = "Cardano";
RequiresNetworkMagic = "RequiresMagic";

UseTraceDispatcher = true;

TracingVerbosity = "NormalVerbosity";
minSeverity = "Debug";

TraceMempool = true;

TraceOptionSeverity = [
{ns = ""; severity = "DebugF";}
{ns = "Node.Resources"; severity = "DebugF";}
## {ns = "Node.Mempool"; severity = "DebugF";}
{ns = "Node.ChainDB"; severity = "DebugF";}
## {ns = "Node.ChainDB.ImmutableDBEvent"; severity = "WarningF";}
];

TraceOptionDetail = [
{ns = ""; detail = "DNormal";}
## {ns = "Node.BlockFetchClient"; detail = "DMinimal";}
];

TraceOptionBackend = [
{ns = ""; backends = ["Stdout MachineFormat" "EKGBackend" "Forwarder"];}
## {ns = "Node.ChainDB"; backends = ["Stdout HumanFormatColoured"];}
];

TraceOptionLimiter = [
{ns = "Node.ChainDB.OpenEvent"; limiterName = "ChainDB open limiter"; limiterFrequency = 0.1;}
];

TraceOptionForwarder = {filePath = "/tmp/forwarder-${toString i}.sock";};

TraceOptionForwardQueueSize = 700;

TraceTxInbound = true;

defaultScribes = [
Expand Down

0 comments on commit 9f60f43

Please sign in to comment.