From 20c952a8cb76ade434dd74ac091b189f42b65aff Mon Sep 17 00:00:00 2001 From: Bo Maryniuk Date: Mon, 12 Feb 2018 12:17:37 +0100 Subject: [PATCH] Rename logger variable --- salt/utils/parsers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py index 9f2c5a66fb..3d26e7d9ab 100644 --- a/salt/utils/parsers.py +++ b/salt/utils/parsers.py @@ -47,7 +47,7 @@ import salt.exceptions from salt.ext import six from salt.ext.six.moves import range # pylint: disable=import-error,redefined-builtin -log = logging.getLogger(__name__) +logger = logging.getLogger(__name__) def _sorted(mixins_or_funcs): @@ -979,7 +979,7 @@ class DaemonMixIn(six.with_metaclass(MixInMeta, object)): # Otherwise this can be ignored, since salt-master is able to # overwrite the PIDfile on the next start. if not os.getuid(): - log.info('PIDfile could not be deleted: %s', six.text_type(self.config['pidfile'])) + logger.info('PIDfile could not be deleted: %s', six.text_type(self.config['pidfile'])) def set_pidfile(self): from salt.utils.process import set_pidfile