]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Report eCAP service [re]start to cache.log by default.
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 3 Apr 2011 11:23:21 +0000 (05:23 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 3 Apr 2011 11:23:21 +0000 (05:23 -0600)
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 6bac7b18fc528a8982f779964a7f98146a37e72e..eec111f2386ac89855c8d36215717ea0897fc431 100644 (file)
@@ -32,11 +32,10 @@ Adaptation::Ecap::ServiceRep::finalize()
     Adaptation::Service::finalize();
     theService = FindAdapterService(cfg().uri);
     if (theService) {
-        debugs(93,3, HERE << "starting eCAP service: " << theService->uri());
+        debugs(93,DBG_IMPORTANT, "Starting eCAP service: " << theService->uri());
         theService->start();
     } else {
-        debugs(93,1, "Warning: configured ecap_service was not loaded: " <<
-               cfg().uri);
+        debugs(93,DBG_IMPORTANT, "WARNING: configured ecap_service was not loaded: " << cfg().uri);
     }
 }