Skip to content

Commit

Permalink
fix(api, hatchery): remove tracing logs (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsamin authored and yesnault committed Aug 7, 2018
1 parent b6aa441 commit 301a394
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions engine/api/tracing/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (

"github.com/ovh/cds/engine/api/cache"
"github.com/ovh/cds/engine/api/feature"
"github.com/ovh/cds/sdk/log"
"github.com/ovh/cds/sdk/tracingutils"
)

Expand Down Expand Up @@ -60,7 +59,6 @@ func Start(ctx context.Context, serviceName string, w http.ResponseWriter, req *
if !traceEnable || !opt.Enable {
return ctx, nil
}
log.Info("starting trace %s on %s", opt.Name, serviceName)

tags := []trace.Attribute{}
if opt.Worker != nil {
Expand Down
1 change: 0 additions & 1 deletion sdk/hatchery/hatchery.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ func Create(h Interface) error {

currentCtx := context.WithValue(ctx, tracing.TagWorkflowNodeJobRun, j.ID)
if val, has := j.Header.Get(tracingutils.SampledHeader); has && val == "1" {
log.Info("hatchery> enable tracing on job. Headers: %+v", j.Header)
currentCtx, _ = tracing.New(currentCtx, h.ServiceName(), "hatchery.JobReceive", trace.AlwaysSample(), trace.SpanKindServer)

r, _ := j.Header.Get(sdk.WorkflowRunHeader)
Expand Down

0 comments on commit 301a394

Please sign in to comment.