From: Kienan Stewart Date: Fri, 4 Oct 2024 19:57:53 +0000 (-0400) Subject: ansible: Correct logging statement in manage_jenkins script X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=946d01e819f12e3b17a4a3354e2b61533e1064cf;p=lttng-ci.git ansible: Correct logging statement in manage_jenkins script Change-Id: I0fc69fca0f6004738d4044b84215fa456916aef2 Signed-off-by: Kienan Stewart --- diff --git a/automation/ansible/scripts/manage_jenkins_node.py b/automation/ansible/scripts/manage_jenkins_node.py index 62a3313..66bb293 100755 --- a/automation/ansible/scripts/manage_jenkins_node.py +++ b/automation/ansible/scripts/manage_jenkins_node.py @@ -223,7 +223,7 @@ if __name__ == "__main__": level=args.loglevel, format="[%(asctime)s] - %(levelname)s - %(message)s" ) if "callback" not in args or not args.callback: - log.error("Valid command required") + logging.error("Valid command required") parser.print_help() sys.exit(1)