From 0692660afc841d55463953ca7c6be3b9e8c67bea Mon Sep 17 00:00:00 2001
From: Steve Murphy <murf@digium.com>
Date: Fri, 12 Dec 2008 19:16:32 +0000
Subject: [PATCH] demote always-appearing debug message (for certain boards) to
 ast_debug lev 3 msg instead

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_dahdi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 9e615e9e74..dff85fd7d9 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -8167,7 +8167,8 @@ static void *do_monitor(void *data)
 								/* Set driver resources for signalling VMWI */
 								res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, res);
 								if (res2) {
-									ast_log(LOG_DEBUG, "Unable to control message waiting led on channel %d: %s\n", last->channel, strerror(errno));
+									/* TODO: This message will ALWAYS be generated on some cards; any way to restrict it to those cards where it is interesting? */
+									ast_debug(3, "Unable to control message waiting led on channel %d: %s\n", last->channel, strerror(errno));
 								}
 								/* This channel has a new voicemail state,
 								* initiate a mechanism to send an MWI message
-- 
GitLab