diff options
author | Steven Barth <steven@midlink.org> | 2014-01-17 16:55:33 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-01-17 16:55:33 +0100 |
commit | 3e48070e686c10a6c01b5a8d706151d6ae0c932a (patch) | |
tree | a32c5cc58267f40fa7ec605c36c100a82643950e /src/odhcpd.c | |
parent | 025572363ee84e8477581dbca321efaee3ebdddb (diff) |
Fix logging verbosity
Diffstat (limited to 'src/odhcpd.c')
-rw-r--r-- | src/odhcpd.c | 6 |
1 files 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); |