Skip to content

Commit

Permalink
CAD-944 bench: ensure that node logs don't rotate out too soon
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfire committed Jul 1, 2020
1 parent 71e9923 commit 0e8d90e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions globals-bench-txgen-simple.nix
Expand Up @@ -88,8 +88,19 @@ in reportDeployment (rec {
[ "FileSK" "/var/lib/cardano-node/logs/node.json" ]
];
setupScribes = [
{ scKind = "StdoutSK"; scName = "stdout"; scFormat = "ScJson"; }
{ scKind = "FileSK"; scName = "/var/lib/cardano-node/logs/node.json"; scFormat = "ScJson"; "scRotation" = null; }
{
scKind = "StdoutSK";
scName = "stdout";
scFormat = "ScJson"; }
{
scKind = "FileSK";
scName = "/var/lib/cardano-node/logs/node.json";
scFormat = "ScJson";
scRotation = {
rpLogLimitBytes = 300000000;
rpMaxAgeHours = 24;
rpKeepFilesNum = 20;
}; }
];
minSeverity = "Debug";
TracingVerbosity = "MaximalVerbosity";
Expand Down
2 changes: 1 addition & 1 deletion roles/tx-generator.nix
Expand Up @@ -81,7 +81,7 @@ in {
{ scKind = "StdoutSK"; scName = "stdout"; scFormat = "ScJson"; }
{ scKind = "FileSK"; scName = "/var/lib/cardano-node/logs/node.json"; scFormat = "ScJson";
scRotation = {
rpLogLimitBytes = 200000000;
rpLogLimitBytes = 300000000;
rpMaxAgeHours = 24;
rpKeepFilesNum = 2;
}; }
Expand Down

0 comments on commit 0e8d90e

Please sign in to comment.