Skip to content

Commit

Permalink
Update cmd/root.go
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Braga <mrbraga@redhat.com>
  • Loading branch information
bostrt and mtulio committed Jun 30, 2022
1 parent f0788fb commit 8d7a2ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ var rootCmd = &cobra.Command{
log.SetLevel(logrusLevel)

// Additional log options
customFormatter := new(log.TextFormatter)
customFormatter.FullTimestamp = true
log.SetFormatter(customFormatter)
log.SetFormatter(&log.TextFormatter{
FullTimestamp: true,
})
},
}

Expand Down

0 comments on commit 8d7a2ef

Please sign in to comment.