Remove duplicated trace logs
This was mistakenly added to bklog. Since this is getting attached to the standard logger, and bklog is using the standard logger, we only need this added once. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
parent
7d30dafd69
commit
5b16dd6469
1 changed files with 0 additions and 2 deletions
|
@ -57,7 +57,6 @@ import (
|
|||
"github.com/docker/docker/runconfig"
|
||||
"github.com/docker/go-connections/tlsconfig"
|
||||
"github.com/moby/buildkit/session"
|
||||
"github.com/moby/buildkit/util/bklog"
|
||||
"github.com/moby/buildkit/util/tracing/detect"
|
||||
swarmapi "github.com/moby/swarmkit/v2/api"
|
||||
"github.com/pkg/errors"
|
||||
|
@ -247,7 +246,6 @@ func (cli *DaemonCli) start(opts *daemonOptions) (err error) {
|
|||
} else {
|
||||
otel.SetTracerProvider(tp)
|
||||
log.G(ctx).Logger.AddHook(tracing.NewLogrusHook())
|
||||
bklog.G(ctx).Logger.AddHook(tracing.NewLogrusHook())
|
||||
}
|
||||
|
||||
pluginStore := plugin.NewStore()
|
||||
|
|
Loading…
Add table
Reference in a new issue