From 61132e64ae4c574a236f317117be5f9dc422b932 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Sun, 28 Jul 2019 21:48:06 -0500 Subject: [PATCH] Documentation/op-guide: add "--log-level" flag Signed-off-by: Gyuho Lee --- Documentation/op-guide/configuration.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/op-guide/configuration.md b/Documentation/op-guide/configuration.md index fdbc5572fdde..1c6a1ae9fdb6 100644 --- a/Documentation/op-guide/configuration.md +++ b/Documentation/op-guide/configuration.md @@ -342,7 +342,8 @@ The security flags help to [build a secure etcd cluster][security]. ### --logger -**Available from v3.4** +**Available from v3.4.** +**WARNING: `--logger=capnslog` to be deprecated in v3.5.** + Specify 'zap' for structured logging or 'capnslog'. + default: capnslog @@ -354,12 +355,27 @@ The security flags help to [build a secure etcd cluster][security]. + env variable: ETCD_LOG_OUTPUTS + 'default' use 'stderr' config for v3.4 during zap logger migraion +### --log-level + +**Available from v3.4.** + ++ Configures log level. Only supports debug, info, warn, error, panic, or fatal. ++ default: info ++ env variable: ETCD_LOG_LEVEL ++ 'default' use 'info'. + ### --debug + +**WARNING: to be deprecated in v3.5.** + + Drop the default log level to DEBUG for all subpackages. + default: false (INFO for all packages) + env variable: ETCD_DEBUG ### --log-package-levels + +**WARNING: to be deprecated in v3.5.** + + Set individual etcd subpackages to specific log levels. An example being `etcdserver=WARNING,security=DEBUG` + default: "" (INFO for all packages) + env variable: ETCD_LOG_PACKAGE_LEVELS