diff --git a/CHANGELOG.md b/CHANGELOG.md index 517e63ac1f1..f8e8f9875e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ release. ### Logs +- Add definition for standard output log record exporter. + ([#3741](https://github.com/open-telemetry/opentelemetry-specification/pull/3741)) + ### Resource ### OpenTelemetry Protocol diff --git a/specification/logs/sdk_exporters/stdout.md b/specification/logs/sdk_exporters/stdout.md new file mode 100644 index 00000000000..4642e1822e4 --- /dev/null +++ b/specification/logs/sdk_exporters/stdout.md @@ -0,0 +1,22 @@ + + +# OpenTelemetry LogRecord Exporter - Standard output + +**Status**: [Experimental](../../document-status.md) + +"Standard output" LogRecord Exporter is a [LogRecord +Exporter](../sdk.md#logrecordexporter) which outputs the logs to +stdout/console. + +[OpenTelemetry SDK](../../overview.md#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](../sdk.md#logrecordprocessor) to pair with the associated +exporter (e.g., using the [`OTEL_LOGS_EXPORTER` environment +variable](../../configuration/sdk-environment-variables.md#exporter-selection)), by +default the exporter MUST be paired with a [batching +processor](../sdk.md#batching-processor).