mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix for pidfile removal logging
self.info does not exist. Switching to the 'normal' way of logging.
This commit is contained in:
parent
b75f50afe3
commit
9454236694
1 changed files with 1 additions and 1 deletions
|
@ -885,7 +885,7 @@ class DaemonMixIn(six.with_metaclass(MixInMeta, object)):
|
|||
try:
|
||||
os.unlink(self.config['pidfile'])
|
||||
except OSError as err:
|
||||
self.info(
|
||||
logging.getLogger(__name__).info(
|
||||
'PIDfile could not be deleted: {0}'.format(
|
||||
self.config['pidfile']
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue