From 1e0ccb6bcc3057664820be01cb86913bc88bb2e3 Mon Sep 17 00:00:00 2001 From: Adin Schmahmann Date: Tue, 8 Dec 2020 21:46:49 -0500 Subject: [PATCH] fix: decrease log level of opencensus initialization This commit was moved from ipfs/kubo@fb3316ad05c0497fa2d5ba752e0efdebf40ac054 --- gateway/core/corehttp/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/core/corehttp/metrics.go b/gateway/core/corehttp/metrics.go index de0dcd743..8a73111fc 100644 --- a/gateway/core/corehttp/metrics.go +++ b/gateway/core/corehttp/metrics.go @@ -26,7 +26,7 @@ func MetricsScrapingOption(path string) ServeOption { // This adds collection of OpenCensus metrics func MetricsOpenCensusCollectionOption() ServeOption { return func(_ *core.IpfsNode, _ net.Listener, mux *http.ServeMux) (*http.ServeMux, error) { - log.Error("Init OpenCensus") + log.Info("Init OpenCensus") promRegistry := prometheus.NewRegistry() pe, err := ocprom.NewExporter(ocprom.Options{