From: Guillaume Abrioux Date: Mon, 22 May 2023 12:27:48 +0000 (+0200) Subject: node-proxy: add some logging in the reporter agent X-Git-Tag: testing/wip-pdonnell-testing-20240430.123648-reef-debug~291^2~100 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ec3487a4f4e120a26979d3b48f4d41cc8d701896;p=ceph-ci.git node-proxy: add some logging in the reporter agent This adds some calls to the logging module, mostly for devel/debug purposes at the moment. Signed-off-by: Guillaume Abrioux (cherry picked from commit 102a80fc298a4292e14554e7d57db6c541889468) --- diff --git a/src/cephadm/node-proxy/reporter.py b/src/cephadm/node-proxy/reporter.py index ec27e36e3db..a454b8a5bb7 100644 --- a/src/cephadm/node-proxy/reporter.py +++ b/src/cephadm/node-proxy/reporter.py @@ -1,6 +1,9 @@ from threading import Thread import requests import time +from util import logger + +log = logger(__name__, level=10) class Reporter: def __init__(self, system, observer_url):