mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 13:22:57 +00:00
feat: set max log files to 720 by default, info log only (#4787)
* feat: set max log files to 720 by default, info log only * expose max_log_files in tomls * include dir info when panicing, limit max_log_files of err_log to 30, and that of slow_queries to opt.max_log_files * fix clippy * update config.md * update expected config str * limit err_log max files size to `max_log_files` too, include err info when panicing, put `max_l_f` in right position * fix typos * chore: config Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com> --------- Co-authored-by: dennis zhuang <killme2008@gmail.com> Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>
This commit is contained in:
@@ -624,6 +624,9 @@ append_stdout = true
|
||||
## The log format. Can be `text`/`json`.
|
||||
log_format = "text"
|
||||
|
||||
## The maximum amount of log files.
|
||||
max_log_files = 720
|
||||
|
||||
## The percentage of tracing will be sampled and exported.
|
||||
## Valid range `[0, 1]`, 1 means all traces are sampled, 0 means all traces are not sampled, the default value is 1.
|
||||
## ratio > 1 are treated as 1. Fractions < 0 are treated as 0
|
||||
|
||||
Reference in New Issue
Block a user