From d0bdfdba569934442e9d8bfc01bcc6c3712b6011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= Date: Sun, 26 Apr 2020 12:17:33 +0200 Subject: [PATCH] Use log_trace to log non-running interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This log message does spam the output of macnocker, if an interface is down, because it is executed every second. This is not a critical debug message, as it is expected behaviour, so it is converted to log_trace, so it is only output when really necessary Signed-off-by: Fabian Bläse --- macnockclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macnockclient.c b/macnockclient.c index cdfba53..6e6ec3b 100644 --- a/macnockclient.c +++ b/macnockclient.c @@ -95,7 +95,7 @@ void macNockClient_run() if (!(ifr.ifr_flags & IFF_RUNNING)) { // interface is not running, silently ignore - log_debug("[c] interface is not running\n"); + log_trace("[c] interface is not running\n"); goto retry; }