swift-otel icon indicating copy to clipboard operation
swift-otel copied to clipboard

Log Handler Overridden in OTelResourceDetection

Open 0xifarouk opened this issue 6 months ago • 0 comments
trafficstars

Hi there 👋🏻

I noticed that the log handler in OTelResourceDetection is being overridden with StreamLogHandler, which makes it ignores the handler being created in LoggingSystem.bootstrap https://github.com/swift-otel/swift-otel/blob/b811d52fc5747b0a7f9f95e984390395268cc533/Sources/OTel/Resource/OTelResourceDetection.swift#L49

Is this behaviour intentional?

0xifarouk avatar May 16 '25 12:05 0xifarouk