CHANGELOG-3.4: add "LogOutput" change

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-04-17 11:55:07 -07:00
parent 8049df15c4
commit 671e4a50bc

View File

@@ -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