From e2249d05e1aa57a27415f4966221dc62b3b2b61e Mon Sep 17 00:00:00 2001 From: Stephan Pampel Date: Fri, 20 Aug 2021 14:24:11 +0200 Subject: [PATCH] Set loglevel of "Pacemaker is ready" to TRACE Closes-Bug: #1889482 Change-Id: Ie97d09f5bd319a4adf93abd44fc465c77fd20620 --- hooks/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hooks/utils.py b/hooks/utils.py index 5bc6479..6a64971 100644 --- a/hooks/utils.py +++ b/hooks/utils.py @@ -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)