Skip to content

Commit f9fe3ed

Browse files
committed
Add basic TraceOptions config for cardano-submit-api (same for all environments)
1 parent a942595 commit f9fe3ed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cardano-lib/default.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,18 @@ let
114114
mkSubmitApiConfig = name: nodeConfig: (filterAttrs (k: v: v != null) {
115115
GenesisHash = nodeConfig.ByronGenesisHash;
116116
inherit (nodeConfig) RequiresNetworkMagic;
117+
TraceOptions = builtins.listToAttrs [
118+
{ name = "";
119+
value = {
120+
backends = [
121+
"EKGBackend"
122+
"Stdout HumanFormatColoured"
123+
];
124+
detail = "DNormal";
125+
severity = "Notice";
126+
};
127+
}
128+
];
117129
})
118130
// defaultExplorerLogConfig;
119131

0 commit comments

Comments
 (0)