[SR-Dev] git:master: * Modules: presence

Juha Heinanen jh at tutpro.com
Thu Apr 23 19:14:32 CEST 2009


Module: sip-router
Branch: master
Commit: 9c73b883ea0d30cd1f51933179404c5123b5429f
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9c73b883ea0d30cd1f51933179404c5123b5429f

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Thu Apr 23 20:12:57 2009 +0300

* Modules: presence

Changed an INFO log into DBG log and improved logged information.

---

 modules_k/presence/presence.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules_k/presence/presence.c b/modules_k/presence/presence.c
index 703050c..13b74ae 100644
--- a/modules_k/presence/presence.c
+++ b/modules_k/presence/presence.c
@@ -1160,7 +1160,9 @@ static int pres_auth_status(struct sip_msg* _msg, char* _sp1, char* _sp2)
 	LM_ERR( "getting status from rules document\n");
 	goto err;
     }
-    LM_INFO("subs.status= %d\n", subs.status);
+    LM_DBG("auth status of watcher <%.*s> on presentity <%.*s> is %d\n",
+	   watcher_uri.len, watcher_uri.s, presentity_uri.len, presentity_uri.s,
+	   subs.status);
     pkg_free(rules_doc->s);
     pkg_free(rules_doc);
     return subs.status;




More information about the sr-dev mailing list