From 8c3a9ff5a3221d9cb0491ec62ad14107e95633ac Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 2 Apr 2020 19:44:09 -0400 Subject: [PATCH] change log levels in healthcheck module --- salt/_modules/healthcheck.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/salt/_modules/healthcheck.py b/salt/_modules/healthcheck.py index 0a62f0471..2878b0492 100644 --- a/salt/_modules/healthcheck.py +++ b/salt/_modules/healthcheck.py @@ -42,14 +42,14 @@ def run(checks=''): retval = [] calling_func = sys._getframe().f_back.f_code.co_name - logging.info('healthcheck_module: run function caller: %s' % calling_func) + logging.debug('healthcheck_module: run function caller: %s' % calling_func) if checks: checks = checks.split(',') else: checks = __salt__['pillar.get']('healthcheck:checks', {}) - logging.info('healthcheck_module: run checks to be run: %s' % str(checks)) + logging.debug('healthcheck_module: run checks to be run: %s' % str(checks)) for check in checks: if check in allowed_functions: retval.append(check) @@ -73,11 +73,11 @@ def send_event(tag, eventdata): def zeek(): calling_func = sys._getframe().f_back.f_code.co_name - logging.info('healthcheck_module: zeek function caller: %s' % calling_func) + logging.debug('healthcheck_module: zeek function caller: %s' % calling_func) retval = [] retcode = __salt__['zeekctl.status'](verbose=False) - logging.info('healthcheck_module: zeekctl.status retcode: %i' % retcode) + logging.debug('healthcheck_module: zeekctl.status retcode: %i' % retcode) if retcode: zeek_restart = True if calling_func != 'beacon':