Skip to content

Commit

Permalink
Make log.file.name recommended
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Jun 28, 2023
1 parent 4d6fc20 commit ad72f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion semantic_conventions/logs/media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion specification/logs/semantic_conventions/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ As such, these should be recorded as Log Record attributes when applicable. They
<!-- semconv log.file -->
| 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 |
Expand Down

0 comments on commit ad72f07

Please sign in to comment.