[asterisk-commits] mvanbaak: trunk r103750 - /trunk/channels/chan_skinny.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Feb 16 15:22:00 CST 2008


Author: mvanbaak
Date: Sat Feb 16 15:22:00 2008
New Revision: 103750

URL: http://svn.digium.com/view/asterisk?view=rev&rev=103750
Log:
move two ast_log calls to ast_debug.
Now monitoring chan_skinny port with nagios or zabbix wont generate noise on the console.
@ok tilghman

Modified:
    trunk/channels/chan_skinny.c

Modified: trunk/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=103750&r1=103749&r2=103750
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Sat Feb 16 15:22:00 2008
@@ -5509,7 +5509,7 @@
 		
 		dlen = letohl(*(int *)s->inbuf);
 		if (dlen < 4) {
-			ast_log(LOG_WARNING, "Skinny Client sent invalid data.\n");
+			ast_debug(1, "Skinny Client sent invalid data.\n");
 			ast_mutex_unlock(&s->lock);
 			return -1;
 		}
@@ -5582,7 +5582,7 @@
 			}
 		}
 	}
-	ast_log(LOG_NOTICE, "Skinny Session returned: %s\n", strerror(errno));
+	ast_debug(3, "Skinny Session returned: %s\n", strerror(errno));
 
 	if (s) 
 		destroy_session(s);




More information about the asterisk-commits mailing list