From 148cd55c8212ee726facc41e48b14d3d22e99b7f Mon Sep 17 00:00:00 2001 From: Lyncoln Date: Wed, 28 Oct 2026 01:20:21 -0400 Subject: [PATCH] Gated response.ok logging behind a boolean leaving only failed messages reporting --- core/runtime/logs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/runtime/logs.py b/core/runtime/logs.py index b234093..dd1d291 100644 --- a/core/runtime/logs.py +++ b/core/runtime/logs.py @@ -12,8 +12,11 @@ def buildLog (action, outputs, response): except (KeyError, TypeError): pass + response_log = False + if action.showstatus is True and response.ok: - print(f"{action.name} successful") + if response_log: + print(f"{action.name} request successful with response {response.status_code}") elif action.showstatus is True and not response.ok: print(f"{action.name} failed with status code {response.status_code}")