docs: use code html tag for config value 'json'

This commit is contained in:
Zaiming (Stone) Shi 2023-09-26 12:10:24 +02:00
parent 7d810c2107
commit 40608f23c8
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ common_handler_flush_qlen.label:
common_handler_chars_limit.desc:
"""Set the maximum length of a single log message. If this length is exceeded, the log message will be truncated.
When formatter is 'json' the truncation is done on the JSON values, but not on the log message itself."""
When formatter is <code>json</code> the truncation is done on the JSON values, but not on the log message itself."""
common_handler_chars_limit.label:
"""Single Log Max Length"""
@ -661,7 +661,7 @@ Can be one of:
- <code>utc</code>: the UTC time offset
- <code>+-[hh]:[mm]</code>: user specified time offset, such as "-02:00" or "+00:00"
Defaults to: <code>system</code>.
This config has no effect for when formatter is 'json' as the timestamp in JSON is milliseconds since epoch."""
This config has no effect for when formatter is <code>json</code> as the timestamp in JSON is milliseconds since epoch."""
common_handler_time_offset.label:
"""Time Offset"""