mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
logrus use full timestamp
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
8af4db6f00
commit
af64e396ca
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ func (cli *DaemonCli) start(opts *daemonOptions) (err error) {
|
||||||
logrus.SetFormatter(&logrus.TextFormatter{
|
logrus.SetFormatter(&logrus.TextFormatter{
|
||||||
TimestampFormat: jsonlog.RFC3339NanoFixed,
|
TimestampFormat: jsonlog.RFC3339NanoFixed,
|
||||||
DisableColors: cli.Config.RawLogs,
|
DisableColors: cli.Config.RawLogs,
|
||||||
|
FullTimestamp: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
if err := setDefaultUmask(); err != nil {
|
if err := setDefaultUmask(); err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue