From: Alex Rousskov Date: Tue, 23 Feb 2016 15:58:54 +0000 (+1300) Subject: Log noise reduction: No eCAP debugging messages at DBG_IMPORTANT level. X-Git-Tag: SQUID_3_5_15~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae2463a55cee8d384704027d4eac688c841df7a1;p=thirdparty%2Fsquid.git Log noise reduction: No eCAP debugging messages at DBG_IMPORTANT level. --- diff --git a/src/adaptation/ecap/Host.cc b/src/adaptation/ecap/Host.cc index 6110e2b447..720c7bd148 100644 --- a/src/adaptation/ecap/Host.cc +++ b/src/adaptation/ecap/Host.cc @@ -137,7 +137,7 @@ SquidLogLevel(libecap::LogVerbosity lv) return DBG_DATA; // is it a good idea to ignore other flags? if (lv.application()) - return DBG_IMPORTANT; // is it a good idea to ignore other flags? + return lv.normal() ? DBG_IMPORTANT : 2; return 2 + 2*lv.debugging() + 3*lv.operation() + 2*lv.xaction(); }