mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5509,7 +5509,7 @@ static int get_input(struct skinnysession *s)
|
|||||||
|
|
||||||
dlen = letohl(*(int *)s->inbuf);
|
dlen = letohl(*(int *)s->inbuf);
|
||||||
if (dlen < 4) {
|
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);
|
ast_mutex_unlock(&s->lock);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@@ -5582,7 +5582,7 @@ static void *skinny_session(void *data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ast_log(LOG_NOTICE, "Skinny Session returned: %s\n", strerror(errno));
|
ast_debug(3, "Skinny Session returned: %s\n", strerror(errno));
|
||||||
|
|
||||||
if (s)
|
if (s)
|
||||||
destroy_session(s);
|
destroy_session(s);
|
||||||
|
Reference in New Issue
Block a user