From f09c4357c9d655befa7ae2d4270b302c973b2adc Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Mon, 24 Mar 2025 15:09:20 +1100 Subject: [PATCH] re-enable debug logging in codex nodes Since the HttpClient now supports async, re-enable debug logging in the Codex nodes --- tests/integration/multinodes.nim | 6 +++--- tests/testIntegration.nim | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/integration/multinodes.nim b/tests/integration/multinodes.nim index 0931dc73..a0a45b3b 100644 --- a/tests/integration/multinodes.nim +++ b/tests/integration/multinodes.nim @@ -186,9 +186,9 @@ template multinodesuite*(name: string, body: untyped) = " because logfile path could not be obtained: " & e.msg, e, ) - # TODO: uncomment once HttpClient has been asyncified - # when CodexLogLevel != "": - # config.addCliOption("--log-level", CodexLogLevel) + + when CodexLogLevel != "": + config.addCliOption("--log-level", CodexLogLevel) var apiPort, discPort: int withLock(codexPortLock): diff --git a/tests/testIntegration.nim b/tests/testIntegration.nim index b83ffefa..8220898f 100644 --- a/tests/testIntegration.nim +++ b/tests/testIntegration.nim @@ -32,6 +32,7 @@ const TestConfigs = # Echoes stdout from Hardhat process const DebugHardhat {.booldefine.} = false +# When true, shows all TRACE logs in Codex nodes' chronicles logs const NoCodexLogFilters {.booldefine.} = false # Shows test status updates at time intervals. Useful for running locally with # active terminal interaction. Set to false for unattended runs, eg CI.