Skip to content

Commit

Permalink
CHANGELOG-3.4: add "LogOutput" change
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Apr 17, 2018
1 parent 8049df1 commit 671e4a5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Documentation/upgrades/upgrade_3_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 671e4a5

Please sign in to comment.