-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
On v0.111.0, the logging
exporter has been removed in favor of the debug
exporter. The logging
exporter last version will be v0.110.0 and it will be removed in all officially released distros.
Starting on v0.111.0, you need to replace all your instances of the logging
exporter by the debug
exporter. For example, if not using any specific settings you can switch as follows:
Before | After |
receivers:
otlp:
protocols:
grpc:
exporters:
logging:
service:
pipelines:
traces:
receivers: [otlp]
exporters: [logging] |
receivers:
otlp:
protocols:
grpc:
exporters:
debug:
service:
pipelines:
traces:
receivers: [otlp]
exporters: [debug] |
You may also need to update your OpenTelemetry Collector Builder manifest to include the debug exporter instead of the logging exporter when bumping the version of components.
Both exporters support the verbosity
option and have the same behavior. The debug
exporter does not support the logging
exporter's loglevel
option. The following table summarizes how to translate from one to the other:
loglevel value |
Equivalent verbosity level |
---|---|
debug |
detailed |
info |
normal |
warn |
basic |
error |
basic |
dpanic |
basic |
panic |
basic |
fatal |
basic |
The debug
exporter is available since v0.86.0 and you can migrate to it before upgrading to v0.111.0. If you find any trouble with the migration, please comment below!