]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Report eCAP service [re]start to cache.log by default.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 11 Mar 2011 21:41:33 +0000 (14:41 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 11 Mar 2011 21:41:33 +0000 (14:41 -0700)
Reporting eCAP services may be important, especially since we have no other
interface to detect their presence and since folks will have to deal with
rogue services eventually.

Also raised eCAP service configuration notice level to 2.

src/adaptation/ecap/ServiceRep.cc

index 16e7530dcba13be2f075f151c90212b7995f3450..b5a79bdb732fdea999a0432be234e5452848ebdb 100644 (file)
@@ -99,11 +99,11 @@ Adaptation::Ecap::ServiceRep::finalize()
     Adaptation::Service::finalize();
     theService = FindAdapterService(cfg().uri);
     if (theService) {
-        debugs(93,3, HERE << "configuring eCAP service: " << theService->uri());
+        debugs(93,2, HERE << "configuring eCAP service: " << theService->uri());
         const ConfigRep cfgRep(dynamic_cast<const ServiceConfig&>(cfg()));
         theService->configure(cfgRep);
 
-        debugs(93,3, HERE << "starting eCAP service: " << theService->uri());
+        debugs(93,DBG_IMPORTANT, HERE << "starting eCAP service: " << theService->uri());
         theService->start();
     } else {
         debugs(93,1, "Warning: configured ecap_service was not loaded: " <<