Fix log calls.

This commit is contained in:
Pedro Algarvio 2012-10-01 21:32:50 +01:00
parent f7be7bb6b0
commit 54fc7f90fa

View File

@ -99,7 +99,8 @@ class Minion(parsers.MinionOptionParser):
sys.exit(err.errno)
self.setup_logfile_logger()
logging.getLogger(__name__).warn(
log = logging.getLogger(__name__)
log.warn(
'Setting up the Salt Minion "{0}"'.format(
self.config['id']
)
@ -146,7 +147,8 @@ class Syndic(parsers.SyndicOptionParser):
sys.exit(err.errno)
self.setup_logfile_logger()
logging.getLogger(__name__).warn(
log = logging.getLogger(__name__)
log.warn(
'Setting up the Salt Syndic Minion "{0}"'.format(
self.config['id']
)