What
When LOGGER_HAS_OTLP is not defined (default), otlp_writer.cpp export_with_http() builds a complete OTLP JSON payload but returns true without sending it. No warning is logged.
LOGGER_ENABLE_OTLP is OFF by default (CMakeLists.txt:59)
- Callers believe telemetry data is being exported when it is silently discarded
Why
Silent data loss in observability pipelines. Users who configure OTLP export get no indication their logs are not reaching the collector.
How
Technical Approach
Change the stub to return false and emit a one-time stderr warning explaining that OTLP transport is unavailable.
Acceptance Criteria
What
When
LOGGER_HAS_OTLPis not defined (default),otlp_writer.cppexport_with_http()builds a complete OTLP JSON payload but returnstruewithout sending it. No warning is logged.LOGGER_ENABLE_OTLPis OFF by default (CMakeLists.txt:59)Why
Silent data loss in observability pipelines. Users who configure OTLP export get no indication their logs are not reaching the collector.
How
Technical Approach
Change the stub to return
falseand emit a one-timestderrwarning explaining that OTLP transport is unavailable.Acceptance Criteria
falseinstead oftrueLOGGER_ENABLE_OTLP=ON)