From: Alex Rousskov Date: Sun, 21 Feb 2016 18:07:04 +0000 (-0700) Subject: Log noise reduction: No eCAP debugging messages at DBG_IMPORTANT level. X-Git-Tag: SQUID_4_0_7~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=deca180dd70383047e9da9d8c27530c229aca1c8;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 a1a95393ba..cface56664 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(); }