Commit b233c2ac authored by edz's avatar edz

modify logging.debug -> logging.info

parent 3db7e0f0
......@@ -83,8 +83,8 @@ def get_jobs(cmd):
(stdout, stderr) = run_command(cmd, timeout)
stdout = stdout.decode()
stderr = stderr.decode()
logging.debug(stderr)
logging.debug(stdout)
logging.info(stderr)
logging.info(stdout)
if 'Could not resolve host' in stderr and not stdout:
msg = '\n- **error_msg**: Could not resolve host %s' % (cmd)
......
......@@ -84,8 +84,8 @@ def get_kafka_connectors(cmd):
(stdout, stderr) = run_command(cmd, timeout)
stdout = stdout.decode()
stderr = stderr.decode()
logging.debug(stderr)
logging.debug(stdout)
logging.info(stderr)
logging.info(stdout)
if 'Could not resolve host' in stderr and not stdout:
msg = '\n- **error_msg**: Could not resolve host %s' % (cmd)
......@@ -114,8 +114,8 @@ def get_connector_status(cmd):
(stdout, stderr) = run_command(cmd, timeout)
stdout = stdout.decode()
stderr = stderr.decode()
logging.debug(stderr)
logging.debug(stdout)
logging.info(stderr)
logging.info(stdout)
outdict = json.loads(stdout)
except TimeoutError:
......
......@@ -82,8 +82,8 @@ def get_kafka_connectors_status(cmd):
(stdout, stderr) = run_command(cmd, timeout)
stdout = stdout.decode()
stderr = stderr.decode()
logging.debug(stderr)
logging.debug(stdout)
logging.info(stderr)
logging.info(stdout)
if 'Could not resolve host' in stderr and not stdout:
msg = '\n- **error_msg**: Could not resolve host %s' % (cmd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment