diff --git a/docs/logs/getting-started-console/README.md b/docs/logs/getting-started-console/README.md index 946959195..53ca89924 100644 --- a/docs/logs/getting-started-console/README.md +++ b/docs/logs/getting-started-console/README.md @@ -96,8 +96,9 @@ is used to achieve structured logging and better performance. The logs are sent the `OpenTelemetryLoggerProvider`, which is configured to export logs to `ConsoleExporter`. `ConsoleExporter` simply displays it on the console. -> **Note** -> Certain types of applications (e.g. [ASP.NET +## Note for different application types + +Certain types of applications (e.g. [ASP.NET Core](https://learn.microsoft.com/aspnet/core) and [.NET Worker](https://learn.microsoft.com/dotnet/core/extensions/workers)) have an `ILogger` based logging pipeline set up by default. In such apps, enabling diff --git a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md index ab118ceae..70d7447bf 100644 --- a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md +++ b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md @@ -75,6 +75,13 @@ customize the `LogRecordExportProcessorOptions` or see the [Environment Variables](#environment-variables) section below on how to customize using environment variables. +> **Note** For details on how to configure logging with OpenTelemetry check this +> [console](../../docs/logs/getting-started-console/Program.cs) or [ASP.NET +Core](../../examples/AspNetCore/Program.cs) example app. Check this +**[section](../../docs/logs/getting-started-console/readme.md#note-for-different-application-types)** +for configuring OpenTelemetry with `ILogger` for certain application types such +as ASP.NET Core and .NET Worker. + ## Configuration You can configure the `OtlpExporter` through `OtlpExporterOptions`