Hide timestamp from logs #1366
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1366
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?
So I look at the journald logs and see 2 timestamps:
Why have 2 when we can have one?
We can make this configurable with
logger.timestamp: no/yes/auto
, where auto enables timestamps only when stdout is a terminal.See https://github.com/nspcc-dev/neo-go/issues/3358
My opinion is to make
no
the default (somewhat breaks backward compatibility, but acceptable) and have only 2 options, no need to dance withauto
.