diff --git a/Documentation/upgrades/upgrade_3_4.md b/Documentation/upgrades/upgrade_3_4.md index 96f7d2ae291..054a0c036a4 100644 --- a/Documentation/upgrades/upgrade_3_4.md +++ b/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