Skip to content

Commit

Permalink
Clean up generic log config accordingly with cardano-node 1.25
Browse files Browse the repository at this point in the history
  • Loading branch information
jbgi committed Jan 15, 2021
1 parent 209dddd commit 5349ed5
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions cardano-lib/generic-log-config.nix
Expand Up @@ -171,72 +171,13 @@
# and override and not an extension so anything matched here will not
# go to the default backend, only to the explicitly listed backends.
mapBackends = {
"cardano.node.ChainDB.metrics" = [ "EKGViewBK" ];
"cardano.node.metrics" = [ "EKGViewBK" ];
"cardano.node-metrics" = [ "EKGViewBK" ];
"cardano.node.Forge.metrics" = [ "EKGViewBK" ];
"cardano.node.BlockFetchDecision.peers" = [ "EKGViewBK" ];
"cardano.node.resources" = [ "EKGViewBK" ];
};

# This section is more expressive still, and needs to be properly documented.
mapSubtrace = {
benchmark = {
contents = [
"GhcRtsStats"
"MonotonicClock"
];
subtrace = "ObservableTrace";
};
"#ekgview" = {
contents = [
[
{
tag = "Contains";
contents = "cardano.epoch-validation.benchmark";
}
[
{
tag = "Contains";
contents = ".monoclock.basic.";
}
]
]
[
{
tag = "Contains";
contents = "cardano.epoch-validation.benchmark";
}
[
{
tag = "Contains";
contents = "diff.RTS.cpuNs.timed.";
}
]
]
[
{
tag = "StartsWith";
contents = "#ekgview.#aggregation.cardano.epoch-validation.benchmark";
}
[
{
tag = "Contains";
contents = "diff.RTS.gcNum.timed.";
}
]
]
];
subtrace = "FilterTrace";
};
"cardano.epoch-validation.utxo-stats" = {
# Change the `subtrace` value to `Neutral` in order to log
# `UTxO`-related messages during epoch validation.
subtrace = "NoTrace";
};
"cardano.node-metrics" = {
subtrace = "Neutral";
};
"cardano.node.metrics" = {
subtrace = "Neutral";
};
Expand Down

0 comments on commit 5349ed5

Please sign in to comment.