Logs Exporter - Standard output
Status: Stable
“Standard output” LogRecord Exporter is a LogRecord Exporter which outputs the logs to stdout/console.
The exporter’s output format is unspecified and can vary between implementations. Documentation SHOULD warn users about this. The following wording is recommended (modify as needed):
This exporter is intended for debugging and learning purposes. It is not recommended for production use. The output format is not standardized and can change at any time.
If a standardized format for exporting logs to stdout is desired, consider using the File Exporter, if available. However, please review the status of the File Exporter and verify if it is stable and production-ready.
OpenTelemetry SDK authors MAY choose the best idiomatic name for their language. For example, ConsoleExporter, StdoutExporter, StreamExporter, etc.
If a language provides a mechanism to automatically configure a
LogRecordProcessor to pair with the associated
exporter (e.g., using the OTEL_LOGS_EXPORTER
environment
variable), by
default the standard output exporter SHOULD be paired with a simple
processor.
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!