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:
Michiel van Baak 2008-02-16 21:22:00 +00:00
parent 958ed2b620
commit 62ac882f8c
1 changed files with 2 additions and 2 deletions

View File

@ -5509,7 +5509,7 @@ static int get_input(struct skinnysession *s)
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 @@ 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)
destroy_session(s);