summaryrefslogtreecommitdiff
path: root/ick_controller.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-10-03 15:17:44 +0000
committerLars Wirzenius <liw@liw.fi>2017-10-03 15:17:44 +0000
commitaf3075f0ec731631678d375ba624e5e3e9b3a717 (patch)
tree24c9e00105803b15a2b67c47858f33a744650368 /ick_controller.py
parenta999cb905cd4d7f8a533b6695ce884611966a2f2 (diff)
downloadick2-af3075f0ec731631678d375ba624e5e3e9b3a717.tar.gz
Fix: calls go logging
Diffstat (limited to 'ick_controller.py')
-rw-r--r--ick_controller.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ick_controller.py b/ick_controller.py
index be9c23f..4eda11c 100644
--- a/ick_controller.py
+++ b/ick_controller.py
@@ -62,15 +62,15 @@ logger.addHandler(handler)
logging.info('Starting ick controller main program')
config_filename = os.environ.get('ICK_CONTROLLER_CONFIG')
-logging.info('config filename %r' % config_filename)
+logging.info('config filename %r', config_filename)
if not config_filename:
logging.error('no ICK_CONTROLLER_CONFIG in environment')
raise Exception('No ICK_CONTROLLER_CONFIG defined in environment')
-logging.info('reading config from %r' % config_filename)
+logging.info('reading config from %r', config_filename)
config = load_config(config_filename, default_config)
-logging.info('config is %r' % config)
+logging.info('config is %r', config)
ick2.setup_logging(config)
ick2.log.log('info', msg_text='Ick2 controller starts', config=config)