Set loglevel of "Pacemaker is ready" to TRACE

Closes-Bug: #1889482
Change-Id: Ie97d09f5bd319a4adf93abd44fc465c77fd20620
This commit is contained in:
Stephan Pampel 2021-08-20 14:24:11 +02:00
parent f5cf525377
commit e2249d05e1

View File

@ -35,6 +35,7 @@ from charmhelpers.core.strutils import (
from charmhelpers.core.hookenv import (
local_unit,
log,
TRACE,
DEBUG,
ERROR,
INFO,
@ -1015,7 +1016,7 @@ def try_pcmk_wait():
"""
try:
pcmk.wait_for_pcmk()
log("Pacemaker is ready", DEBUG)
log("Pacemaker is ready", level=TRACE)
except pcmk.ServicesNotUp as e:
status_msg = "Pacemaker is down. Please manually start it."
status_set('blocked', status_msg)