diff --git a/collector/config.yaml b/collector/config.yaml index e46947e7f7..30a0f4570d 100644 --- a/collector/config.yaml +++ b/collector/config.yaml @@ -25,7 +25,7 @@ processors: exporters: logging: - verbosity: detailed + verbosity: ${SW_APM_EXPORTER_LOG_LEVEL} otlp: endpoint: "https://otel.collector.${SW_APM_DATA_CENTER}.cloud.solarwinds.com:443" headers: diff --git a/collector/main.go b/collector/main.go index ea4ecc8c83..d22d95dcfb 100644 --- a/collector/main.go +++ b/collector/main.go @@ -56,7 +56,7 @@ func main() { } func initLogger() *zap.Logger { - lvl := zap.NewAtomicLevelAt(zapcore.InfoLevel) + lvl := zap.NewAtomicLevelAt(zapcore.WarnLevel) envLvl := os.Getenv("OPENTELEMETRY_EXTENSION_LOG_LEVEL") userLvl, err := zap.ParseAtomicLevel(envLvl)