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 Add canonical import comment 2018-02-05 16:51:57 -05:00
fluentd Fix fluentd partial detection 2018-05-10 01:55:27 +02:00
gcplogs Various code-cleanup 2018-05-23 17:50:54 +02:00
gelf Add canonical import comment 2018-02-05 16:51:57 -05:00
journald Improve partial message support in logger 2018-04-11 13:26:28 -07:00
jsonfilelog Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
logentries Add canonical import comment 2018-02-05 16:51:57 -05:00
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 Add canonical import comment 2018-02-05 16:51:57 -05:00
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 Add metrics for log failures/partials 2018-05-10 17:22:37 -04:00
copier_test.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
factory.go Various code-cleanup 2018-05-23 17:50:54 +02:00
logger.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
logger_test.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
loginfo.go Add canonical import comment 2018-02-05 16:51:57 -05:00
metrics.go Add metrics for log failures/partials 2018-05-10 17:22:37 -04:00
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 Add canonical import comment 2018-02-05 16:51:57 -05:00
proxy.go Add canonical import comment 2018-02-05 16:51:57 -05:00
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