fix: update time format in logging to 24-hour format (#3296)
* fix: update time format in logging to 24-hour format * fix: update time format in logging to use time.TimeOnly * fix: update logging time format to RFC3339mine
parent
577a2fb7cc
commit
adf95bdebe
|
|
@ -104,7 +104,7 @@ func run(*cobra.Command, []string) error {
|
||||||
|
|
||||||
slog.SetDefault(slog.New(tint.NewHandler(logFile, &tint.Options{
|
slog.SetDefault(slog.New(tint.NewHandler(logFile, &tint.Options{
|
||||||
Level: parseLevel(*k9sFlags.LogLevel),
|
Level: parseLevel(*k9sFlags.LogLevel),
|
||||||
TimeFormat: time.Kitchen,
|
TimeFormat: time.RFC3339,
|
||||||
})))
|
})))
|
||||||
|
|
||||||
cfg, err := loadConfiguration()
|
cfg, err := loadConfiguration()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue