From f28a3bcc37073e1392682f0ea3e3266a5f5e8d61 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 17 Apr 2018 11:55:07 -0700 Subject: [PATCH] CHANGELOG-3.4: add "LogOutput" change Signed-off-by: Gyuho Lee --- Documentation/upgrades/upgrade_3_4.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/upgrades/upgrade_3_4.md b/Documentation/upgrades/upgrade_3_4.md index 96f7d2ae2914..054a0c036a45 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