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}")