Add router_state to output of keepalives
This commit is contained in:
parent
0bf0721fda
commit
439c5f18c3
|
@ -1243,9 +1243,12 @@ def update_zookeeper():
|
||||||
# Display node information to the terminal
|
# Display node information to the terminal
|
||||||
if config['log_keepalives']:
|
if config['log_keepalives']:
|
||||||
logger.out(
|
logger.out(
|
||||||
'{}{} keepalive{}'.format(
|
'{}{} keepalive{} [{}{}{}]'.format(
|
||||||
fmt_purple,
|
fmt_purple,
|
||||||
myhostname,
|
myhostname,
|
||||||
|
fmt_end,
|
||||||
|
fmt_bold,
|
||||||
|
this_node.router_state,
|
||||||
fmt_end
|
fmt_end
|
||||||
),
|
),
|
||||||
state='t'
|
state='t'
|
||||||
|
|
Loading…
Reference in New Issue