aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-10-17 20:46:59 +0800
committerGitHub <noreply@github.com>2018-10-17 20:46:59 +0800
commit4e693ad5a6f118dcf4f3586938c17fc8ef5822b5 (patch)
treef6e459c676196bad0aec4c68a94affedfc6417dd /swarm
parent4466c7b971837bded610dd2225ddc6065c0cb3c3 (diff)
downloadgo-tangerine-4e693ad5a6f118dcf4f3586938c17fc8ef5822b5.tar
go-tangerine-4e693ad5a6f118dcf4f3586938c17fc8ef5822b5.tar.gz
go-tangerine-4e693ad5a6f118dcf4f3586938c17fc8ef5822b5.tar.bz2
go-tangerine-4e693ad5a6f118dcf4f3586938c17fc8ef5822b5.tar.lz
go-tangerine-4e693ad5a6f118dcf4f3586938c17fc8ef5822b5.tar.xz
go-tangerine-4e693ad5a6f118dcf4f3586938c17fc8ef5822b5.tar.zst
go-tangerine-4e693ad5a6f118dcf4f3586938c17fc8ef5822b5.zip
swarm/tracing: disable stdout logging for opentracing (#17931)
Diffstat (limited to 'swarm')
-rw-r--r--swarm/tracing/tracing.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/swarm/tracing/tracing.go b/swarm/tracing/tracing.go
index b84cfb310..f95fa41b8 100644
--- a/swarm/tracing/tracing.go
+++ b/swarm/tracing/tracing.go
@@ -9,7 +9,6 @@ import (
"github.com/ethereum/go-ethereum/log"
jaeger "github.com/uber/jaeger-client-go"
jaegercfg "github.com/uber/jaeger-client-go/config"
- jaegerlog "github.com/uber/jaeger-client-go/log"
cli "gopkg.in/urfave/cli.v1"
)
@@ -85,13 +84,13 @@ func initTracer(endpoint, svc string) (closer io.Closer) {
// Example logger and metrics factory. Use github.com/uber/jaeger-client-go/log
// and github.com/uber/jaeger-lib/metrics respectively to bind to real logging and metrics
// frameworks.
- jLogger := jaegerlog.StdLogger
+ //jLogger := jaegerlog.StdLogger
//jMetricsFactory := metrics.NullFactory
// Initialize tracer with a logger and a metrics factory
closer, err := cfg.InitGlobalTracer(
svc,
- jaegercfg.Logger(jLogger),
+ //jaegercfg.Logger(jLogger),
//jaegercfg.Metrics(jMetricsFactory),
//jaegercfg.Observer(rpcmetrics.NewObserver(jMetricsFactory, rpcmetrics.DefaultNameNormalizer)),
)