From eeebc417813cc272ab5c763f8d819d4b40b15a05 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Fri, 15 Dec 2023 12:34:27 -0600 Subject: [PATCH] GH-1510 Add hotstuff logging in distributed-transactions-test.py --- tests/TestHarness/logging-template.json | 22 +++++++++++++++------- tests/distributed-transactions-test.py | 2 +- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/tests/TestHarness/logging-template.json b/tests/TestHarness/logging-template.json index fff1143346..79250422fa 100644 --- a/tests/TestHarness/logging-template.json +++ b/tests/TestHarness/logging-template.json @@ -130,13 +130,21 @@ "stderr" ] },{ - "name": "state_history", - "level": "info", - "enabled": true, - "additivity": false, - "appenders": [ - "stderr" - ] + "name": "state_history", + "level": "info", + "enabled": true, + "additivity": false, + "appenders": [ + "stderr" + ] + },{ + "name": "hotstuff", + "level": "all", + "enabled": true, + "additivity": false, + "appenders": [ + "stderr" + ] },{ "name": "transaction", "level": "info", diff --git a/tests/distributed-transactions-test.py b/tests/distributed-transactions-test.py index 77e7d7bbc1..9cda9456f8 100755 --- a/tests/distributed-transactions-test.py +++ b/tests/distributed-transactions-test.py @@ -42,7 +42,7 @@ testSuccessful=False random.seed(seed) # Use a fixed seed for repeatability. -cluster=Cluster(unshared=args.unshared, keepRunning=True if nodesFile is not None else args.leave_running, keepLogs=args.keep_logs) +cluster=Cluster(unshared=args.unshared, keepRunning=True if nodesFile is not None else args.leave_running, keepLogs=args.keep_logs, loggingLevel="all") walletMgr=WalletMgr(True) try: