From 627a19022e531b2fab0065d25ff7935895dab08f Mon Sep 17 00:00:00 2001
From: "wenpeng.song" <wenpeng.song@iopsys.eu>
Date: Tue, 31 Oct 2023 14:01:14 +0100
Subject: [PATCH] lower the log level for loading moh to debug

---
 res/res_musiconhold.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 6196211265..2451836b06 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -2234,7 +2234,7 @@ static int load_module(void)
 	}
 
 	if (!load_moh_classes(0) && ast_check_realtime("musiconhold") == 0) { 	/* No music classes configured, so skip it */
-		ast_log(LOG_WARNING, "No music on hold classes configured, "
+		ast_log(LOG_DEBUG, "No music on hold classes configured, "
 				"disabling music on hold.\n");
 	} else {
 		ast_install_music_functions(local_ast_moh_start, local_ast_moh_stop,
-- 
GitLab