Skip to content

Commit

Permalink
Use log_trace to log non-running interfaces
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
fblaese committed Apr 26, 2020
1 parent ce01c32 commit d0bdfdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macnockclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d0bdfdb

Please sign in to comment.