treewide: rework prio of syslog messages
[project/odhcpd.git] / src / ndp.c
index 30ebaf4..10acc3b 100644 (file)
--- a/src/ndp.c
+++ b/src/ndp.c
@@ -328,7 +328,7 @@ static void check_updates(struct interface *iface)
                dhcpv6_ia_postupdate(iface, now);
 
        if (change) {
-               syslog(LOG_DEBUG, "Raising SIGUSR1 due to address change");
+               syslog(LOG_INFO, "Raising SIGUSR1 due to address change on %s", iface->ifname);
                raise(SIGUSR1);
        }
 }
@@ -363,7 +363,7 @@ static void handle_rtnetlink(_unused void *addr, void *data, size_t len,
                if (is_route) {
                        // Inform about a change in default route
                        if (rtm->rtm_dst_len == 0) {
-                               syslog(LOG_DEBUG, "Raising SIGUSR1 due to default route change");
+                               syslog(LOG_INFO, "Raising SIGUSR1 due to default route change");
                                raise(SIGUSR1);
                        }