Sfoglia il codice sorgente

cfgutils: Remove debug statements in sleep functions

Too much noise when debug logging is on

(cherry picked from commit efe9d554a912edb0ffc5ae8e7176adc5bcc44a5e)
Alex Hermann 10 anni fa
parent
commit
fe960c65c0
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      src/modules/cfgutils/cfgutils.c

+ 0 - 2
src/modules/cfgutils/cfgutils.c

@@ -600,7 +600,6 @@ static int m_sleep(struct sip_msg *msg, char *time, char *str2)
 		LM_ERR("cannot get time interval value\n");
 		return -1;
 	}
-	LM_DBG("sleep %lu seconds\n", (unsigned long)s);
 	sleep((unsigned int)s);
 	return 1;
 }
@@ -613,7 +612,6 @@ static int m_usleep(struct sip_msg *msg, char *time, char *str2)
 		LM_ERR("cannot get time interval value\n");
 		return -1;
 	}
-	LM_DBG("sleep %lu microseconds\n", (unsigned long)time);
 	sleep_us((unsigned int)s);
 	return 1;
 }