From: Sam Tannous Date: Tue, 8 Jul 2014 19:15:47 +0000 (-0400) Subject: Move interface update msg to debug level X-Git-Tag: 0.7.10~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f670a1e8acedeb5e3b725fc33d65e894ab2fa3e;p=thirdparty%2Flldpd.git Move interface update msg to debug level Move interface update msg to debug level so that we don't see so many of them on large boxes. Signed-off-by: Roopa Prabhu Signed-off-by: Sam Tannous --- diff --git a/src/client/lldpcli.c b/src/client/lldpcli.c index 47375918..246cea35 100644 --- a/src/client/lldpcli.c +++ b/src/client/lldpcli.c @@ -157,10 +157,10 @@ cmd_pause_resume(lldpctl_conn_t *conn, int pause) return 0; } if (lldpctl_atom_get_int(config, lldpctl_k_config_paused) == pause) { - log_info("lldpctl", "lldpd is already %s", + log_debug("lldpctl", "lldpd is already %s", pause?"paused":"resumed"); lldpctl_atom_dec_ref(config); - return 0; + return 1; } if (lldpctl_atom_set_int(config, lldpctl_k_config_paused, pause) == NULL) { diff --git a/src/daemon/event.c b/src/daemon/event.c index eacda7c7..14a3855a 100644 --- a/src/daemon/event.c +++ b/src/daemon/event.c @@ -591,7 +591,7 @@ static void levent_iface_trigger(evutil_socket_t fd, short what, void *arg) { struct lldpd *cfg = arg; - log_info("event", + log_debug("event", "triggering update of all interfaces"); lldpd_update_localports(cfg); }