moby--moby/daemon/logger/journald
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
..
journald.go Sanitize docker labels when used as journald field names 2016-08-05 15:20:47 -07:00
journald_test.go Sanitize docker labels when used as journald field names 2016-08-05 15:20:47 -07:00
journald_unsupported.go Revert "prevent journald from being built on ARM" 2015-12-02 10:30:13 -05:00
read.go Clean up journald logger 2016-11-08 19:09:59 +01:00
read_native.go Try to handle changing names for journal packages 2016-02-23 12:24:27 -05:00
read_native_compat.go Try to handle changing names for journal packages 2016-02-23 12:24:27 -05:00
read_unsupported.go Revert "prevent journald from being built on ARM" 2015-12-02 10:30:13 -05:00