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
Brian Goff 27bd6842f8 Implement plugins for logging drivers
Logging plugins use the same HTTP interface as other plugins for basic
command operations meanwhile actual logging operations are handled (on
Unix) via a fifo.

The plugin interface looks like so:

```go
type loggingPlugin interface {
  StartLogging(fifoPath string, loggingContext Context) error
  StopLogging(fifoPath)
```

This means a plugin must implement `LoggingDriver.StartLogging` and
`LoggingDriver.StopLogging` endpoints and be able to consume the passed
in fifo.

Logs are sent via stream encoder to the fifo encoded with protobuf.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-04-10 13:17:20 -04:00
..
awslogs Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
etwlogs Merge pull request #30136 from tg123/master 2017-02-06 14:00:00 -08:00
fluentd Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
gcplogs Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
gelf Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
journald Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
jsonfilelog Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
logentries Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
loggerutils Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
splunk Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
syslog Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
adapter.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
adapter_test.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
copier.go Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
copier_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
factory.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
logger.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
logger_test.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
loginfo.go Use a regex to match environment variables #27565 2017-01-19 15:30:11 -08:00
plugin.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
plugin_unix.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
plugin_unsupported.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
proxy.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
ring.go Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
ring_test.go fix some typos from module contrib to man 2017-02-18 10:08:55 +08:00