diff --git a/platform/framework/src/register/ServiceCompositor.js b/platform/framework/src/register/ServiceCompositor.js index 4e6d9b6a5e..50fb491eb5 100644 --- a/platform/framework/src/register/ServiceCompositor.js +++ b/platform/framework/src/register/ServiceCompositor.js @@ -75,6 +75,21 @@ define( ].join("")); } + //Log an info: defaults to "no service provide by" + function info(extension, category, message) { + var msg = message || "No service provided by"; + $log.info([ + msg, + " ", + category, + " ", + extension.key, + " from bundle ", + (extension.bundle || { path: "unknown bundle" }).path, + "; skipping." + ].join("")); + } + // Echo arguments; used to represent groups of non-built-in // extensions as a single dependency. function echoMany() { @@ -161,13 +176,13 @@ define( name = makeName("aggregator", service, index); if (!service) { - return warn(aggregator, "aggregator"); + return info(aggregator, "aggregator"); } // Aggregators need other services to aggregate, otherwise they // do nothing. if (!latest[service]) { - return warn( + return info( aggregator, "aggregator", "No services to aggregate for" diff --git a/platform/telemetry/src/TelemetryCapability.js b/platform/telemetry/src/TelemetryCapability.js index f784f59ffc..19921c08bb 100644 --- a/platform/telemetry/src/TelemetryCapability.js +++ b/platform/telemetry/src/TelemetryCapability.js @@ -117,7 +117,7 @@ define( } catch (e) { // $injector should throw if telemetryService // is unavailable or unsatisfiable. - $log.warn("Telemetry service unavailable"); + $log.info("Telemetry service unavailable"); return (this.telemetryService = null); } }; @@ -314,4 +314,3 @@ define( return TelemetryCapability; } ); -