-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtips.toml
91 lines (68 loc) · 1.72 KB
/
tips.toml
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
#type: string
#description: the file name to record connd PID
#default: tips.pid
#pid-filename = "tips.pid"
[server]
#type: string
#rules: netaddr
#description: address to listen
#default: 0.0.0.0:7369
#listen = "0.0.0.0:7369"
#type: string
#description: key file name
key = ""
#type: string
#description: tls session ticket file name. ticket use: openssl rand 32
Cert = ""
[server.tikv]
#type: string
#description: pd address in tidb
#required
pd-addrs = ""
[status]
#type: string
#rules: nonempty
#description: listen address of http server
#default: 0.0.0.0:7345
#listen = "0.0.0.0:7345"
[tikv-logger]
#type: string
#rules: nonempty
#description: the default log path
#default: logs/tikv
#path = "logs/tikv"
#type: string
#description: log level(debug, info, warn, error, panic, fatal)
#default: info
#level = "info"
#type: bool
#rules: boolean
#description: true for enabling log compress
#default: false
#compress = false
#type: string
#description: log time rotate pattern(s m h D M W)
#default: 0 0 0 * * *
#time-rotate = "0 0 0 * * *"
[logger]
#type: string
#description: the default logger name
#default: tips
#name = "tips"
#type: string
#description: the default log path
#default: logs/tips
#path = "logs/tips"
#type: string
#description: log level(debug, info, warn, error, panic, fatal)
#default: info
#level = "info"
#type: bool
#rules: boolean
#description: true for enabling log compress
#default: false
#compress = false
#type: string
#description: log time rotate pattern(s m h D M W)
#default: 0 0 0 * * *
#time-rotate = "0 0 0 * * *"