Skip to content

Commit

Permalink
CHANGELOG: server: add support for log rotation etcd-io#12774
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
  • Loading branch information
hexfusion committed May 5, 2021
1 parent c92a371 commit 609b194
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG-3.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ Note that any `etcd_debugging_*` metrics are experimental and subject to change.
- Setting this flag enables `SO_REUSEADDR` which allows binding to an address in `TIME_WAIT` state, improving etcd restart time.
- Reduce [around 30% memory allocation by logging range response size without marshal](https://github.com/etcd-io/etcd/pull/12871).
- `ETCD_VERIFY="all"` enviroment triggers [additional verification of consistency](https://github.com/etcd-io/etcd/pull/) of etcd data-dir files.
- Add [`etcd --log-rotate-config-json`](https://github.com/etcd-io/etcd/pull/12774) flag which adds support for log rotation of a file output target using [lumberjack](https://pkg.go.dev/gopkg.in/natefinch/lumberjack.v2#Logger).
### Package `runtime`

- Optimize [`runtime.FDUsage` by removing unnecessary sorting](https://github.com/etcd-io/etcd/pull/12214).
Expand All @@ -171,6 +172,7 @@ Note that any `etcd_debugging_*` metrics are experimental and subject to change.
- Use `embed.Config.LogLevel` instead.
- Add [`embed.Config.ZapLoggerBuilder`](https://github.com/etcd-io/etcd/pull/11147) to allow creating a custom zap logger.
- Replace [global `*zap.Logger` with etcd server logger object](https://github.com/etcd-io/etcd/pull/12212).
- Add [`embed.Config.LogRotateConfigJSON`](https://github.com/etcd-io/etcd/pull/12774) to allow passthrough of [lumberjack Logger](https://pkg.go.dev/gopkg.in/natefinch/lumberjack.v2#Logger) JSON config to configure log rotation for a file output target.

### Package `clientv3`

Expand Down

0 comments on commit 609b194

Please sign in to comment.