Skip to content

Commit f78f19c

Browse files
authored
Merge pull request #2773 from meeki007/patch-1
Update logs.md - timestamp_formatter --> timestamp_format
2 parents 5b44c19 + 6224441 commit f78f19c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en_US/configuration/logs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ log {
5050
| `rotation_count` | Max Log Files Number | This sets the max number of log files that can be saved. | `10` | `1` - `2,048` |
5151
| `rotation_size` | Rotation Size | This sets the maximum size of a single log file before it is rotated. The old log file will be renamed and moved to an archive directory once it reached the specified value unless it is set to `infinity`, indicating the log file will not be rotated. | `50MB` | `1` - `infinity` |
5252
| `time_offset` | Time Offset | The time offset relative to UTC in the log. | `system` | -- |
53-
| `timestamp_formatter` | Timestamp Format | The format of the timestamp in the log. | `auto` | `auto`: Automatically determines the timestamp format based on the log formatter being used. Utilizes `rfc3339` format for text formatters, and `epoch` format for JSON formatters.<br />`epoch`: Microseconds precision Unix epoch format.<br />`rfc3339`: RFC3339 compliant format for date-time strings. |
53+
| `timestamp_format` | Timestamp Format | The format of the timestamp in the log. | `auto` | `auto`: Automatically determines the timestamp format based on the log formatter being used. Utilizes `rfc3339` format for text formatters, and `epoch` format for JSON formatters.<br />`epoch`: Microseconds precision Unix epoch format.<br />`rfc3339`: RFC3339 compliant format for date-time strings. |
5454
5555
## Output logs with Console
5656
@@ -75,7 +75,7 @@ Where,
7575
| `formatter` | Log Formatter | This sets the log format. | `text` | `text` for free text.<br /> `json` for structured logging. |
7676
| `level` | Log Level | This sets the log level of the current log handler, that is, the minimum log level you want to record. | `warning` | `debug`, `info`, `notice`, `warning`, `error`, `critical`, `alert`, `emergency` |
7777
| `time_offset` | Time Offset | The time offset relative to UTC in the log. | `system` | -- |
78-
| `timestamp_formatter` | Timestamp Format | The format of the timestamp in the log. | `auto` | `auto`: Automatically determines the timestamp format based on the log formatter being used. Utilizes `rfc3339` format for text formatters, and `epoch` format for JSON formatters.<br />`epoch`: Microseconds precision Unix epoch format.<br />`rfc3339`: RFC3339 compliant format for date-time strings. |
78+
| `timestamp_format` | Timestamp Format | The format of the timestamp in the log. | `auto` | `auto`: Automatically determines the timestamp format based on the log formatter being used. Utilizes `rfc3339` format for text formatters, and `epoch` format for JSON formatters.<br />`epoch`: Microseconds precision Unix epoch format.<br />`rfc3339`: RFC3339 compliant format for date-time strings. |
7979
8080
::: tip
8181

0 commit comments

Comments
 (0)