[#1619] logger: Set tags for node components
All checks were successful
DCO action / DCO (pull_request) Successful in 41s
Vulncheck / Vulncheck (pull_request) Successful in 51s
Build / Build Components (pull_request) Successful in 1m37s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m44s
Tests and linters / Run gofumpt (pull_request) Successful in 1m55s
Tests and linters / gopls check (pull_request) Successful in 3m20s
Tests and linters / Lint (pull_request) Successful in 3m33s
Tests and linters / Staticcheck (pull_request) Successful in 4m19s
Tests and linters / Tests (pull_request) Successful in 4m41s
Tests and linters / Tests with -race (pull_request) Successful in 5m6s

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2025-01-29 15:39:28 +03:00
parent 8f96a2020a
commit b41cb386cb
19 changed files with 63 additions and 20 deletions

View file

@ -1,6 +1,7 @@
FROSTFS_LOGGER_LEVEL=debug
FROSTFS_LOGGER_DESTINATION=journald
FROSTFS_LOGGER_TIMESTAMP=true
FROSTFS_LOGGER_ALLOWED_TAGS="main:debug"
FROSTFS_PPROF_ENABLED=true
FROSTFS_PPROF_ADDRESS=localhost:6060

View file

@ -2,7 +2,8 @@
"logger": {
"level": "debug",
"destination": "journald",
"timestamp": true
"timestamp": true,
"allowed_tags": ["main:debug"]
},
"pprof": {
"enabled": true,

View file

@ -2,6 +2,8 @@ logger:
level: debug # logger level: one of "debug", "info" (default), "warn", "error", "dpanic", "panic", "fatal"
destination: journald # logger destination: one of "stdout" (default), "journald"
timestamp: true
allowed_tags:
- "main:debug"
systemdnotify:
enabled: true