mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-01-27 18:20:05 +00:00
Replace logging with logger in ha.py
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user