*: set zap as default logger, remove capnslog

Set zap as default logger. Remove capnslog and deprecated logging
flags.
This commit is contained in:
jingyih
2020-02-03 07:35:47 -08:00
parent 53f15caf73
commit 725e09023a
11 changed files with 18 additions and 148 deletions

View File

@ -174,8 +174,8 @@ Profiling and Monitoring:
List of URLs to listen on for the metrics and health endpoints.
Logging:
--logger 'capnslog'
Specify 'zap' for structured logging or 'capnslog'. [WARN] 'capnslog' will be deprecated in v3.5.
--logger 'zap'
Currently only supports 'zap' for structured logging.
--log-outputs 'default'
Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd, or list of comma separated output targets.
--log-level 'info'
@ -214,12 +214,7 @@ Unsafe feature:
Force to create a new one-member cluster.
CAUTIOUS with unsafe flag! It may break the guarantees given by the consensus protocol!
TO BE DEPRECATED:
--debug 'false'
Enable debug-level logging for etcd. [WARN] Will be deprecated in v3.5. Use '--log-level=debug' instead.
--log-package-levels ''
Specify a particular log level for each etcd package (eg: 'etcdmain=CRITICAL,etcdserver=DEBUG').
`
)
// Add back "TO BE DEPRECATED" section if needed