miniupnpd/minissdp.c: reduce syslog() verbosity

LOG_INFO => LOG_DEBUG
This commit is contained in:
Thomas Bernard 2014-03-24 10:33:52 +01:00
parent ba1875b52c
commit f70484f27f
1 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $Id: minissdp.c,v 1.61 2014/03/10 11:04:51 nanard Exp $ */
/* $Id: minissdp.c,v 1.62 2014/03/24 09:31:23 nanard Exp $ */
/* MiniUPnP project
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* (c) 2006-2014 Thomas Bernard
@ -405,12 +405,13 @@ SendSSDPResponse(int s, const struct sockaddr * addr,
n = sendto_schedule(s, buf, l, 0,
addr, addrlen, delay);
sockaddr_to_string(addr, addr_str, sizeof(addr_str));
syslog(LOG_INFO, "SSDP Announce %d bytes to %s ST: %.*s",n,
addr_str,
l, buf);
syslog(LOG_DEBUG, "%s: %d bytes to %s ST: %.*s",
"SendSSDPResponse()",
n, addr_str, l, buf);
if(n < 0)
{
syslog(LOG_ERR, "sendto(udp): %m");
syslog(LOG_ERR, "%s: sendto(udp): %m",
"SendSSDPResponse()");
}
}