]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Log noise reduction: No eCAP debugging messages at DBG_IMPORTANT level.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 23 Feb 2016 15:58:54 +0000 (04:58 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 23 Feb 2016 15:58:54 +0000 (04:58 +1300)
src/adaptation/ecap/Host.cc

index 6110e2b4478cf4a4e539a676ab5e31a96bee6741..720c7bd148e9ceffd306af3aa0ebe19c489b081d 100644 (file)
@@ -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();
 }