Skip to content

Separate the initialization of logger and tracer

Administrator requested to merge separate-logging-and-tracer-init into main

Created by: efritz

The tracer package initialized logging, which isn't obvious from the call of trace.Init(). I've moved the logging setup into the internal/logging package and added a call where tracer was initialized previously.

This is necessary for precise-code-intel-indexer-vm, which does not need to set up tracing (it runs external to k8s and has no access to the internal network/APIs), but does need to set up logging as the rest of the apps do.

Merge request reports

Loading