From 261fbf272131081fd18fe2e87bae76e348261eb4 Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Tue, 9 Jun 2015 10:27:09 +0200 Subject: [PATCH] Replace logging with logger in ha.py --- helpers/ha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/ha.py b/helpers/ha.py index 771e0bfd..9617228f 100644 --- a/helpers/ha.py +++ b/helpers/ha.py @@ -42,7 +42,7 @@ class Ha: self.state_handler.start() if not has_lock: return 'started as a secondary' - logging.info('started as readonly because i had the session lock') + logger.info('started as readonly because i had the session lock') self.load_cluster_from_etcd() if self.cluster.is_unlocked():