Log: Add milliseconds to log timestamps (#15496)

This commit is contained in:
Manu NALEPA
2025-07-16 12:07:12 +02:00
committed by GitHub
parent d8fedacc26
commit 9e014da0b9
5 changed files with 16 additions and 9 deletions

View File

@@ -303,7 +303,7 @@ var stateTransitionCommand = &cli.Command{
func main() {
customFormatter := new(prefixed.TextFormatter)
customFormatter.TimestampFormat = time.DateTime
customFormatter.TimestampFormat = "2006-01-02 15:04:05.00"
customFormatter.FullTimestamp = true
log.SetFormatter(customFormatter)
app := cli.App{}