From 3e48070e686c10a6c01b5a8d706151d6ae0c932a Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 17 Jan 2014 16:55:33 +0100 Subject: [PATCH] Fix logging verbosity --- src/odhcpd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/odhcpd.c b/src/odhcpd.c index 39ce98e..6512e61 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -175,7 +175,7 @@ ssize_t odhcpd_send(int socket, struct sockaddr_in6 *dest, syslog(LOG_WARNING, "Failed to send to %s%%%s (%s)", ipbuf, iface->ifname, strerror(errno)); else - syslog(LOG_NOTICE, "Sent %li bytes to %s%%%s", + syslog(LOG_DEBUG, "Sent %li bytes to %s%%%s", (long)sent, ipbuf, iface->ifname); return sent; } @@ -359,8 +359,8 @@ static void odhcpd_receive_packets(struct uloop_fd *u, _unused unsigned int even else if (addr.in.sin_family == AF_INET) inet_ntop(AF_INET, &addr.in.sin_addr, ipbuf, sizeof(ipbuf)); - syslog(LOG_NOTICE, "--"); - syslog(LOG_NOTICE, "Received %li Bytes from %s%%%s", (long)len, + syslog(LOG_DEBUG, "--"); + syslog(LOG_DEBUG, "Received %li Bytes from %s%%%s", (long)len, ipbuf, (iface) ? iface->ifname : "netlink"); e->handle_dgram(&addr, data_buf, len, iface); -- 2.25.1