Skip to content

Commit

Permalink
Enable tracing (#623)
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
  • Loading branch information
glazychev-art authored Sep 28, 2023
1 parent 899e6ce commit 0eccddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func main() {
log.FromContext(ctx).Fatalf("invalid log level %s", cfg.LogLevel)
}
logrus.SetLevel(level)
log.EnableTracing(level == logrus.TraceLevel)
log.EnableTracing(true)

// Configure Open Telemetry
if opentelemetry.IsEnabled() {
Expand Down

0 comments on commit 0eccddc

Please sign in to comment.