swift-otel
swift-otel copied to clipboard
Log Handler Overridden in OTelResourceDetection
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?