proposal: log/v2: set LstdFlags to zero #44574
Labels
FrozenDueToAge
Proposal
v2
A language change or incompatible library change
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
In Go 1, we have in the
log
package:If the standard logger is used with initial values, then date and time is included twice in e.g. systemd logs.
However, adding timestamps to logs should be a task of the execution environment (e.g. systemd or Docker), and not of the application.
So I propose to set
LstdFlags = 0
in Go 2, or just omit it.The text was updated successfully, but these errors were encountered: