Skip to content

Commit 08011c6

Browse files
authored
docs: log level updates (#1690)
* Update 02-query-config.md * Update 02-query-config.md
1 parent 59caa5f commit 08011c6

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/en/guides/10-deploy/04-references/02-node-config/02-query-config.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Query Configurations
55
import FunctionDescription from '@site/src/components/FunctionDescription';
66
import LanguageDocs from '@site/src/components/LanguageDocs';
77

8-
<FunctionDescription description="Introduced or updated: v1.2.344"/>
8+
<FunctionDescription description="Introduced or updated: v1.2.698"/>
99

1010
This page describes the Query node configurations available in the [databend-query.toml](https://github.com/databendlabs/databend/blob/main/scripts/distribution/configs/databend-query.toml) configuration file.
1111

@@ -59,29 +59,29 @@ The following is a list of the parameters available within the [query.settings]
5959

6060
## [log] Section
6161

62-
This section can include three subsections: [log.file], [log.stderr], [log.query], and [log.tracing].
62+
This section can include these subsections: [log.file], [log.stderr], [log.query], and [log.tracing].
6363

6464
### [log.file] Section
6565

6666
The following is a list of the parameters available within the [log.file] section:
6767

68-
| Parameter | Description |
69-
| --------- | -------------------------------------------------------------------------- |
70-
| on | Enables or disables file logging. Defaults to true. |
71-
| dir | Path to store log files. |
72-
| level | Log level: DEBUG, INFO, or ERROR. Defaults to INFO. |
73-
| format | Log format: json or text. Defaults to json. |
74-
| limit | Determines the maximum number of log files to be retained. Defaults to 48. |
68+
| Parameter | Description |
69+
|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
70+
| on | Enables or disables file logging. Defaults to `true`. |
71+
| dir | Path to store log files. |
72+
| level | Log level, following [env_logger](https://docs.rs/env_logger/latest/env_logger/) syntax: `error`, `warn`, `info`, `debug`, `trace`, `off`. Defaults to `warn,databend_=info,openraft=info`. |
73+
| format | Log format: `json` or `text`. Defaults to `json`. |
74+
| limit | Determines the maximum number of log files to be retained. Defaults to `48`. |
7575

7676
### [log.stderr] Section
7777

7878
The following is a list of the parameters available within the [log.stderr] section:
7979

80-
| Parameter | Description |
81-
| --------- | ------------------------------------------------------ |
82-
| on | Enables or disables stderr logging. Defaults to false. |
83-
| level | Log level: DEBUG, INFO, or ERROR. Defaults to DEBUG. |
84-
| format | Log format: json or text. Defaults to text. |
80+
| Parameter | Description |
81+
|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
82+
| on | Enables or disables stderr logging. Defaults to `false`. |
83+
| level | Log level, following [env_logger](https://docs.rs/env_logger/latest/env_logger/) syntax: `error`, `warn`, `info`, `debug`, `trace`, `off`. Defaults to `warn,databend_=info,openraft=info`. |
84+
| format | Log format: `json` or `text`. Defaults to `json`. |
8585

8686
### [log.query] Section
8787

0 commit comments

Comments
 (0)