Skip to content

Commit

Permalink
add 2 more configs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored and ti-chi-bot committed Sep 1, 2021
1 parent f64d0b7 commit dccd50f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@ TiKV 配置文件比命令行参数支持更多的选项。你可以在 [etc/con
+ 触发日志轮换的文件大小。一旦日志文件大小超过指定的阈值,日志文件将被轮换,将旧文件被置于新文件中,新文件名即旧文件名加上时间戳后缀。
+ 默认值:"300MB"

### `slow-log-file`

+ 存储慢日志的文件。
+ 如果未设置本项但设置了 `log-file`,慢日志将输出至 `log-file` 指定的日志文件中。如果本项和 `log-file` 均未设置,所有日志默认输出到 "stderr"。
+ 默认值:""

### `slow-log-threshold`

+ 输出慢日志的阈值。处理时间超过该阈值后会输出慢日志。
+ 默认值:"1s"

## server

服务器相关的配置项。
Expand Down

0 comments on commit dccd50f

Please sign in to comment.