[sr-dev] git:master: modules/lcr: issue INFO level log message when gw is activated

Juha Heinanen jh at tutpro.com
Thu Feb 13 07:27:16 CET 2014


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

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Thu Feb 13 08:26:08 2014 +0200

modules/lcr: issue INFO level log message when gw is activated
    due to valid OPTIONS ping response

---

 modules/lcr/lcr_mod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/lcr/lcr_mod.c b/modules/lcr/lcr_mod.c
index 0c239b9..031147f 100644
--- a/modules/lcr/lcr_mod.c
+++ b/modules/lcr/lcr_mod.c
@@ -2367,7 +2367,7 @@ static void ping_callback(struct cell *t, int type, struct tmcb_params *ps)
 	(check_extra_codes(ps->code) == 0)) {
 	if ((uri.len == gw->uri_len) &&
 	    (strncmp(uri.s, &(gw->uri[0]), uri.len) == 0)) {
-	    LM_DBG("activating gw with uri %.*s\n", uri.len, uri.s);
+	    LM_INFO("activating gw with uri %.*s\n", uri.len, uri.s);
 	    gw->state = GW_ACTIVE;
 	} else {
 	    LM_DBG("ignoring OPTIONS reply due to lcr.reload\n");




More information about the sr-dev mailing list