[#1619] logger: Set tags for node
components
Change-Id: I55ffcce9d2a74fdd47621674739b07f2e20199e3 Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
36fb15b9a4
commit
100eb8b654
37 changed files with 151 additions and 77 deletions
|
@ -112,11 +112,21 @@ Contains logger parameters.
|
|||
```yaml
|
||||
logger:
|
||||
level: info
|
||||
tags:
|
||||
- names: "main, morph"
|
||||
level: debug
|
||||
```
|
||||
|
||||
| Parameter | Type | Default value | Description |
|
||||
|-----------|----------|---------------|---------------------------------------------------------------------------------------------------|
|
||||
| `level` | `string` | `info` | Logging level.<br/>Possible values: `debug`, `info`, `warn`, `error`, `dpanic`, `panic`, `fatal` |
|
||||
| Parameter | Type | Default value | Description |
|
||||
|-----------|-----------------------------------------------|---------------|---------------------------------------------------------------------------------------------------|
|
||||
| `level` | `string` | `info` | Logging level.<br/>Possible values: `debug`, `info`, `warn`, `error`, `dpanic`, `panic`, `fatal` |
|
||||
| `tags` | list of [tags descriptions](#tags-subsection) | | Array of tags description. |
|
||||
|
||||
## `tags` subsection
|
||||
| Parameter | Type | Default value | Description |
|
||||
|-----------|----------|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `names` | `string` | | List of components divided by `,`.<br/>Possible values: `main`, `morph`, `grpcsvc`, `ir`, `processor`, `engine`, `blobovnicza`, `blobstor`, `fstree`, `gc`, `shard`, `writecache`, `deletesvc`, `getsvc`, `searchsvc`, `sessionsvc`, `treesvc`, `policer`, `replicator`. |
|
||||
| `level` | `string` | | Logging level for the components from `names`, overrides default logging level. |
|
||||
|
||||
# `contracts` section
|
||||
Contains override values for FrostFS side-chain contract hashes. Most of the time contract
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue