Browse Source

CHANGELOG-3.4: add "LogOutput" change

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
671e4a50bc
1 changed files with 10 additions and 0 deletions
  1. 10 0
      Documentation/upgrades/upgrade_3_4.md

+ 10 - 0
Documentation/upgrades/upgrade_3_4.md

@@ -79,6 +79,16 @@ cfg := &embed.Config{Debug: false}
 -cfg.SetupLogging()
 ```
 
+Changed [`embed.Config.LogOutput` type from `string` to `[]string`](https://github.com/coreos/etcd/pull/9579) to support multiple log outputs.
+
+```diff
+import "github.com/coreos/etcd/embed"
+
+cfg := &embed.Config{Debug: false}
+-cfg.LogOutput = "stderr"
++cfg.LogOutput = []string{"stderr"}
+```
+
 ### Server upgrade checklists
 
 #### Upgrade requirements