From ad72f072919777e8e9236efd8d8835d04e058f8a Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Tue, 27 Jun 2023 10:52:19 +0300 Subject: [PATCH] Make log.file.name recommended Signed-off-by: ChrsMark --- semantic_conventions/logs/media.yaml | 2 +- specification/logs/semantic_conventions/media.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/semantic_conventions/logs/media.yaml b/semantic_conventions/logs/media.yaml index c342a62c82..1243ddb914 100644 --- a/semantic_conventions/logs/media.yaml +++ b/semantic_conventions/logs/media.yaml @@ -25,7 +25,7 @@ groups: attributes: - id: name type: string - requirement_level: opt_in + requirement_level: recommended brief: > The basename of the file. examples: ["audit.log"] diff --git a/specification/logs/semantic_conventions/media.md b/specification/logs/semantic_conventions/media.md index 5cda12616c..9b080f6684 100644 --- a/specification/logs/semantic_conventions/media.md +++ b/specification/logs/semantic_conventions/media.md @@ -32,7 +32,7 @@ As such, these should be recorded as Log Record attributes when applicable. They | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| `log.file.name` | string | The basename of the file. | `audit.log` | Opt-In | +| `log.file.name` | string | The basename of the file. | `audit.log` | Recommended | | `log.file.path` | string | The full path to the file. | `/var/log/mysql/audit.log` | Opt-In | | `log.file.name_resolved` | string | The basename of the file, with symlinks resolved. | `uuid.log` | Opt-In | | `log.file.path_resolved` | string | The full path to the file, with symlinks resolved. | `/var/lib/docker/uuid.log` | Opt-In |