diff --git a/log/handler.go b/log/handler.go index 8ff6c178fb..3b2dccbfba 100644 --- a/log/handler.go +++ b/log/handler.go @@ -156,9 +156,9 @@ func builtinReplace(_ []string, attr slog.Attr, logfmt bool) slog.Attr { case slog.TimeKey: if attr.Value.Kind() == slog.KindTime { if logfmt { - return slog.String("t", attr.Value.Time().Format(timeFormat)) + return slog.String("timestamp", attr.Value.Time().Format(timeFormat)) } else { - return slog.Attr{Key: "t", Value: attr.Value} + return slog.Attr{Key: "timestamp", Value: attr.Value} } } case slog.LevelKey: