-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfig.yaml
100 lines (93 loc) · 3.21 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# yaml-language-server: $schema=https://raw.githubusercontent.com/pamburus/hl/master/schema/json/config.schema.json
$schema: https://raw.githubusercontent.com/pamburus/hl/master/schema/json/config.schema.json
# Time format, see https://man7.org/linux/man-pages/man1/date.1.html for details.
time-format: "%b %d %T.%3N"
# Time zone name, see column "TZ identifier" at
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones page.
time-zone: "UTC"
# Layouts defining which information about the input file to display.
# One or many of the following values can be specified: [`auto`, `none`, `minimal`, `compact`, `full`].
# If multiple layouts are specified, only these layouts will be enabled.
#
# If `auto` is specified, the most suitable layout will be automatically chosen from the enabled layouts
# based on the number of input files and the width of the terminal screen.
#
# If `auto` is specified but no other layouts are specified, all supported layouts will be enabled.
#
# Layout `none` means that no information about the input file is displayed.
# Layout `minimal` means that only the input file number is displayed.
# Layout `compact` means that the input file number and shortened path are displayed.
# Layout `full` means that the input file number and full path are displayed.
input-info: auto
# Settings for fields processing.
fields:
# Configuration of the predefined set of fields.
predefined:
time:
show: auto
names:
[
"ts",
"TS",
"time",
"TIME",
"Time",
"Timestamp",
"_SOURCE_REALTIME_TIMESTAMP",
"__REALTIME_TIMESTAMP",
]
logger:
names: ["logger", "LOGGER", "Logger"]
level:
show: auto
variants:
- names: ["level", "LEVEL", "Level"]
values:
error: ["error", "err", "fatal", "critical", "panic"]
warning: ["warning", "warn"]
info: ["info", "information"]
debug: ["debug"]
trace: ["trace"]
- names: ["PRIORITY"]
values:
error: [3, 2, 1]
warning: [5, 4]
info: [6]
debug: [7]
message:
names: ["msg", "message", "MESSAGE", "Message"]
caller:
names: ["caller", "CALLER", "Caller"]
caller-file:
names: []
caller-line:
names: []
# List of wildcard field names to ignore.
ignore: ["_*"]
# List of exact field names to hide.
hide: []
# Formatting settings.
formatting:
flatten: always
punctuation:
logger-name-separator: ":"
field-key-value-separator: "="
string-opening-quote: "'"
string-closing-quote: "'"
source-location-separator: "→ "
caller-name-file-separator: " @ "
hidden-fields-indicator: " ..."
level-left-separator: "["
level-right-separator: "]"
input-number-prefix: "#"
input-number-left-separator: ""
input-number-right-separator: " │ "
input-name-left-separator: ""
input-name-right-separator: " │ "
input-name-clipping: "··"
input-name-common-part: "··"
array-separator: " "
# Number of processing threads, configured automatically based on CPU count if not specified.
concurrency: ~
# Currently selected theme.
theme: "uni"