Logs linter #162
Labels
No Label
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 Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#162
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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