From d654b8fcd5390e213df2a08b83027f4a6dcfac37 Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Fri, 12 Dec 2008 19:58:37 +0000 Subject: [PATCH] Merged revisions 163675 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r163675 | murf | 2008-12-12 12:16:32 -0700 (Fri, 12 Dec 2008) | 1 line demote always-appearing debug message (for certain boards) to ast_debug lev 3 msg instead ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@163715 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 b97c465f29..e12b52d865 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -7996,7 +7996,8 @@ static void *do_monitor(void *data) struct mwi_thread_data *mtd; 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)); } pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);