From 22e5ba213313d9e4e4ee71e83b86d8a0e2866444 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 13 Jul 2018 12:56:51 +0200 Subject: [PATCH] device: make the output less verbose Having hidden SSIDs or SSIDs with non-UTF8 characters around make iwd flood the logs with messages. Make iwd less verbose and show these messages with enabled debug output only. --- src/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device.c b/src/device.c index a9960c43..4d25b651 100644 --- a/src/device.c +++ b/src/device.c @@ -266,13 +266,13 @@ static bool process_bss(struct device *device, struct scan_bss *bss, bss->frequency, bss->rank, bss->signal_strength); if (util_ssid_is_hidden(bss->ssid_len, bss->ssid)) { - l_warn("Ignoring BSS with hidden SSID"); + l_debug("Ignoring BSS with hidden SSID"); device->seen_hidden_networks = true; return false; } if (!util_ssid_is_utf8(bss->ssid_len, bss->ssid)) { - l_warn("Ignoring BSS with non-UTF8 SSID"); + l_debug("Ignoring BSS with non-UTF8 SSID"); return false; }