1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger
Kir Kolyshkin 09ad434f10
loggerutils: build fixes, improve errors
There are two build errors when using go-1.11beta1:

> daemon/logger/loggerutils/logfile.go:367: Warningf format %q arg f.Name is a func value, not called
> daemon/logger/loggerutils/logfile.go:564: Debug call has possible formatting directive %v

In the first place, the file name is actually not required as error
message already includes it.

While at it, fix a couple of other places for more correct messages, and
make sure to not add a file name if an error already has it.

Fixes: f69f09f44c
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-07-11 15:52:25 +02:00
..
awslogs Pass endpoint to the CloudWatch Logs logging driver 2018-06-29 11:27:37 -07:00
etwlogs
fluentd
gcplogs Various code-cleanup 2018-05-23 17:50:54 +02:00
gelf
journald
jsonfilelog Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
logentries
loggerutils loggerutils: build fixes, improve errors 2018-07-11 15:52:25 +02:00
splunk Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
syslog
templates Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
adapter.go Various code-cleanup 2018-05-23 17:50:54 +02:00
adapter_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
copier.go
copier_test.go
factory.go Various code-cleanup 2018-05-23 17:50:54 +02:00
logger.go
logger_test.go
loginfo.go
metrics.go
plugin.go Move plugin client to separate interface 2018-05-30 15:22:10 -04:00
plugin_unix.go Fix logging plugin crash unrecoverable 2018-05-14 16:51:56 -04:00
plugin_unsupported.go
proxy.go
ring.go Update documentation for RingLogger's ring buffer 2018-05-16 18:52:50 -06:00
ring_test.go Update documentation for RingLogger's ring buffer 2018-05-16 18:52:50 -06:00