Replace logging with logger in ha.py

This commit is contained in:
Alexander Kukushkin
2015-06-09 10:27:09 +02:00
parent da4f9e8445
commit 261fbf2721

View File

@@ -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():