diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-10-17 15:41:22 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-10-17 15:41:22 +0000 |
commit | 4cdd02ce26e3da8b2a609fd5b2d170465d69ed47 (patch) | |
tree | f67f6db0279e8dc17d84762963a7f7da6f1ae028 /res | |
parent | 868a76f897595c988225014e1c70a1ce1dafcc4b (diff) |
Reduce log level of a non-pubsub error message
Drop an error log message to debug level 1 since distributed device
state functions correctly when receiving this message and it spams the
logs.
(closes issue ASTERISK-22410)
Reported by: abelbeck
Patches:
asterisk-1.8-res_jabber-log-nonpubsub-error-to-debug.patch uploaded by abelbeck (License 5903)
asterisk-11-res_xmpp-log-nonpubsub-error-to-debug.patch uploaded by abelbeck (License 5903)
........
Merged revisions 401119 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 401120 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 401121 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/res_jabber.c | 2 | ||||
-rw-r--r-- | res/res_xmpp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c index c1cee9b7a..798ff4b5a 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -3565,7 +3565,7 @@ static int aji_handle_pubsub_error(void *data, ikspak *pak) iks *orig_pubsub = iks_find(pak->x, "pubsub"); struct aji_client *client; if (!orig_pubsub) { - ast_log(LOG_ERROR, "Error isn't a PubSub error, why are we here?\n"); + ast_debug(1, "Error isn't a PubSub error, why are we here?\n"); return IKS_FILTER_EAT; } orig_request = iks_child(orig_pubsub); diff --git a/res/res_xmpp.c b/res/res_xmpp.c index bd66e70cc..34392fd5d 100644 --- a/res/res_xmpp.c +++ b/res/res_xmpp.c @@ -1508,7 +1508,7 @@ static int xmpp_pubsub_handle_error(void *data, ikspak *pak) } if (!orig_pubsub) { - ast_log(LOG_ERROR, "Error isn't a PubSub error, why are we here?\n"); + ast_debug(1, "Error isn't a PubSub error, why are we here?\n"); return IKS_FILTER_EAT; } |