Description
Would it be possible to make the logging output for dockerd configurable so users could enable structured logs? This is currently set to use TextFormatter and all of the --log* options only configure the format of the container logs, not the daemon itself.
Ref:
|
logrus.SetFormatter(&logrus.TextFormatter{ |
|
TimestampFormat: jsonmessage.RFC3339NanoFixed, |
|
DisableColors: conf.RawLogs, |
|
FullTimestamp: true, |
|
}) |
Description
Would it be possible to make the logging output for dockerd configurable so users could enable structured logs? This is currently set to use TextFormatter and all of the
--log*options only configure the format of the container logs, not the daemon itself.Ref:
moby/cmd/dockerd/daemon.go
Lines 792 to 796 in c758d8b