From 81d0b24d6dafcbeb53a819cacf021eaf51b210da Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Thu, 29 Aug 2024 09:27:57 +0200 Subject: [PATCH] Fix configuration documentation --- docs/configure.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/configure.md b/docs/configure.md index 054e8a7..a3eee26 100644 --- a/docs/configure.md +++ b/docs/configure.md @@ -66,7 +66,7 @@ For example, you can define the configuration for the Elastic Distribution of Op { "Elastic": { "OpenTelemetry": { - "FileLogDirectory": "C:\\Logs" + "LogDirectory": "C:\\Logs" } } } @@ -139,7 +139,7 @@ EDOT .NET supports all configuration options listed in the [OpenTelemetry Genera EDOT .NET supports the following Elastic-specific options. -#### `FileLogDirectory` +#### `LogDirectory` * _Type_: String * _Default_: `string.Empty` @@ -150,10 +150,10 @@ specified directory. | Configuration method | Key | |---|---| -| Environment variable | `ELASTIC_OTEL_FILE_LOG_DIRECTORY` | -| `IConfiguration` integration | `Elastic:OpenTelemetry:FileLogDirectory` | +| Environment variable | `OTEL_DOTNET_AUTO_LOG_DIRECTORY` | +| `IConfiguration` integration | `Elastic:OpenTelemetry:LogDirectory` | -#### `FileLogLevel` +#### `LogLevel` * _Type_: String * _Default_: `Information` @@ -164,8 +164,8 @@ Valid options: `Critical`, `Error`, `Warning`, `Information`, `Debug`, `Trace` a | Configuration method | Key | |---|---| -| Environment variable | `ELASTIC_OTEL_FILE_LOG_LEVEL` | -| `IConfiguration` integration | `Elastic:OpenTelemetry:FileLogLevel` | +| Environment variable | `OTEL_LOG_LEVEL` | +| `IConfiguration` integration | `Elastic:OpenTelemetry:LogLevel` | #### `SkipOtlpExporter`