Skip to content

Commit 2379b42

Browse files
Russouljohnalotoski
authored andcommitted
Add basic TraceOptions config for cardano-submit-api (same for all environments)
1 parent 58e2ba2 commit 2379b42

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
@@ -133,6 +133,18 @@ let
133133
mkSubmitApiConfig = name: nodeConfig: (filterAttrs (k: v: v != null) {
134134
GenesisHash = nodeConfig.ByronGenesisHash;
135135
inherit (nodeConfig) RequiresNetworkMagic;
136+
TraceOptions = builtins.listToAttrs [
137+
{ name = "";
138+
value = {
139+
backends = [
140+
"EKGBackend"
141+
"Stdout HumanFormatColoured"
142+
];
143+
detail = "DNormal";
144+
severity = "Info";
145+
};
146+
}
147+
];
136148
})
137149
// defaultExplorerLogConfig;
138150

0 commit comments

Comments
 (0)