etcd/embed
Gyuho Lee 15fcd6d599 embed: do not support "--log-outputs=default" for zap logger
systemd/journal should be configured manually.
Interpreting PPID 1 as systemd unit is wrong,
especially when embedded etcd runs under Docker
container. For such case, every single log write
will error and fall back to stderr, which is
inefficient.

Instead, add "systemd/journal" log output option
and returns error if systemd/journal socket cannot
be found.

"--logger=zap --log-outputs=default" will only error
for v3.4, since zap logger is still experimental.

v3.5 deprecates capnslog and changes "--log-outputs"
default value to "--log-outputs=stderr".

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-05-16 14:47:43 -07:00
..
config.go embed: do not support "--log-outputs=default" for zap logger 2018-05-16 14:47:43 -07:00
config_logging.go embed: do not support "--log-outputs=default" for zap logger 2018-05-16 14:47:43 -07:00
config_logging_journal_unix.go *: rename to "journal" 2018-05-16 14:38:27 -07:00
config_logging_journal_windows.go *: rename to "journal" 2018-05-16 14:38:27 -07:00
config_test.go embed,integration,snapshot: use "LogOutputs" 2018-04-25 13:27:31 -07:00
doc.go embed: Move the ReadyNotify() call to a better place 2016-08-29 22:45:41 -04:00
etcd.go *: make bcrypt-cost configurable 2018-05-03 11:43:32 -07:00
serve.go Merge pull request #9354 from hexfusion/u_sock 2018-04-19 08:16:38 -07:00
serve_test.go *: revert "internal/auth" change 2018-02-26 17:11:40 -08:00
util.go *: configure server logger 2018-04-16 17:36:00 -07:00