瀏覽代碼

Documentation/upgrades: highlight YAML change

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 年之前
父節點
當前提交
bf8601676e
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      Documentation/upgrades/upgrade_3_4.md

+ 10 - 0
Documentation/upgrades/upgrade_3_4.md

@@ -89,6 +89,16 @@ cfg := &embed.Config{Debug: false}
 +cfg.LogOutput = []string{"stderr"}
 +cfg.LogOutput = []string{"stderr"}
 ```
 ```
 
 
+#### Change in `etcd --config-file`
+
+Now that `log-output` accepts multiple writers, etcd configuration YAML file `log-output` field must be changed to `[]string` type as below:
+
+```diff
+ # Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd.
+-log-output: default
++log-output: [default]
+```
+
 ### Server upgrade checklists
 ### Server upgrade checklists
 
 
 #### Upgrade requirements
 #### Upgrade requirements