Sfoglia il codice sorgente

usrloc: change log level from info to dbg when socket is not local

- common scenario when working with shared db, reducing the syslog
  thoughput
- based on a patch by Mickael Marrache
Daniel-Constantin Mierla 10 anni fa
parent
commit
1f29210973
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      modules/usrloc/udomain.c

+ 1 - 1
modules/usrloc/udomain.c

@@ -310,7 +310,7 @@ static inline ucontact_info_t* dbrow2info(db_val_t *vals, str *contact, int rcon
 		}
 		ci.sock = grep_sock_info( &host, (unsigned short)port, proto);
 		if (ci.sock==0) {
-			LM_INFO("non-local socket <%s>...ignoring\n", p);
+			LM_DBG("non-local socket <%s>...ignoring\n", p);
 		}
 	}