From af3075f0ec731631678d375ba624e5e3e9b3a717 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 3 Oct 2017 15:17:44 +0000 Subject: Fix: calls go logging --- ick_controller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ick_controller.py') 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) -- cgit v1.2.1