From cb9ec38623dc305e081972945c39e8d0079c63da Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 4 Jan 2016 20:40:55 +0100 Subject: [PATCH] opkg_manager: tone down diagnostics in badpackage() In case of many packages, it can take a very long time to output the matches of badpackage() on a serial console, so only print them if the verbosity is increased and remove unnecessary information. Signed-off-by: Thilo Graf --- src/gui/opkg_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index 2737b5f32..707eb5a4f 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -379,7 +379,7 @@ bool COPKGManager::badpackage(std::string &s) } if (!st.empty()){ - dprintf(DEBUG_NORMAL, "[COPKGManager] [%s - %d] found bad package => %s [filtered with %s]\n", __func__, __LINE__, s.c_str(), st.c_str()); + dprintf(DEBUG_INFO, "[%s] filtered '%s' pattern(s) '%s'\n", __func__, s.c_str(), st.c_str()); return true; }