From da689cad3590d0a492a5965f698b2df3e5fb8057 Mon Sep 17 00:00:00 2001 From: PixlOne <8843371+PixlOne@users.noreply.github.com> Date: Tue, 31 Mar 2020 16:07:55 -0400 Subject: [PATCH] Set timeout error severity to DEBUG --- src/logid/DeviceFinder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logid/DeviceFinder.cpp b/src/logid/DeviceFinder.cpp index 2d7c885..dc1f751 100644 --- a/src/logid/DeviceFinder.cpp +++ b/src/logid/DeviceFinder.cpp @@ -156,7 +156,7 @@ void DeviceFinder::addDevice(const char *path) { if(remaining_tries == 1) { - log_printf(WARN, "While querying %s (possibly asleep), %s device: %s", string_path.c_str(), NON_WIRELESS_DEV(index), e.what()); + log_printf(DEBUG, "While querying %s (possibly asleep), %s device: %s", string_path.c_str(), NON_WIRELESS_DEV(index), e.what()); remaining_tries += MAX_CONNECTION_TRIES; // asleep devices may raise a resource error, so do not count this try } } @@ -180,7 +180,7 @@ void DeviceFinder::addDevice(const char *path) { if(remaining_tries == 1) { - log_printf(ERROR, "Time out on %s device: %s (possibly asleep)", NON_WIRELESS_DEV(index), string_path.c_str()); + log_printf(DEBUG, "Time out on %s device: %s (possibly asleep)", NON_WIRELESS_DEV(index), string_path.c_str()); remaining_tries += MAX_CONNECTION_TRIES; // asleep devices may raise a timeout error, so do not count this try } }