logrus use full timestamp
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: af64e396cadb90e5177d0601b4869ba98e17c0d7 Component: engine
This commit is contained in:
@@ -96,6 +96,7 @@ func (cli *DaemonCli) start(opts *daemonOptions) (err error) {
|
||||
logrus.SetFormatter(&logrus.TextFormatter{
|
||||
TimestampFormat: jsonlog.RFC3339NanoFixed,
|
||||
DisableColors: cli.Config.RawLogs,
|
||||
FullTimestamp: true,
|
||||
})
|
||||
|
||||
if err := setDefaultUmask(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user