Logs linter #162
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#162
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
At the moment, the content of the logs is not controlled in any way. Logs contain entries with errors or incomprehensible content. There is no log proofreading process.
Describe the solution you'd like
We need to add a linter that will check that the log entries are taken from constants or variables in a given package.
Could you add some code examples of what sort of things the linter would highlight?
For example
log.Debug("processing node...")
should beAll new messages should be added to messages-file(s) that will undergo the proofread process.
achuprov referenced this issue2023-07-17 10:15:11 +00:00