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
Silvan Jegen d359daaa48 Clean up journald logger
We clean up the journald logger with these four changes.

1. Make field array static
2. Make function name more appropriate
3. Initialize the file descriptors only once
4. Avoid copying the journald cursor

Point 4 is the most significant change: instead of treating the journald
cursor like a Go string we use it as a raw C.char pointer. That way we
avoid the copying by the C.CString and C.GoString functions.

Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
2016-11-08 19:09:59 +01:00
..
awslogs Updated AWS logstream to understand tags 2016-11-03 13:49:40 -07:00
etwlogs fix typos 2016-06-02 17:17:22 +08:00
fluentd Fixes #21803 : Removing unused configuration in daemon/logger/fluentd 2016-11-02 11:11:02 +00:00
gcplogs Added optional flags to init gcp logger metadata 2016-07-13 13:56:18 +01:00
gelf Standardize default logging tag value 2016-06-04 12:38:12 +02:00
journald Clean up journald logger 2016-11-08 19:09:59 +01:00
jsonfilelog project: use vndr for vendoring 2016-11-03 15:31:46 -07:00
logentries added logentries driver 2016-10-06 22:48:53 -03:00
loggerutils Standardize default logging tag value 2016-06-04 12:38:12 +02:00
splunk Splunk Logging Driver performance improvements 2016-09-12 09:00:16 -07:00
syslog Merge pull request #25736 from mwieczorek/25689-enable-syslog-driver-on-windows 2016-08-29 17:46:12 -04:00
context.go all: replace loop with single append 2016-10-13 13:31:52 -07:00
copier.go Merge pull request #22982 from nalind/log-newlines 2016-07-28 16:41:01 -07:00
copier_test.go add tests for long log-lines and trailing lines 2016-11-03 10:01:00 -07:00
factory.go inherit the daemon log options when creating containers 2016-05-02 23:04:04 +08:00
logger.go Merge pull request #22982 from nalind/log-newlines 2016-07-28 16:41:01 -07:00