Skip to content

Commit

Permalink
Merge pull request #645 from jmhbnz/main
Browse files Browse the repository at this point in the history
Update logging.md for 3.5+ to show zap as default
  • Loading branch information
spzala authored Mar 3, 2023
2 parents d7381c8 + 3de08c8 commit a729e00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/v3.5/dev-internal/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ weight: 1600
description: Logging level categories
---

etcd uses the [capnslog][capnslog] library for logging application output categorized into *levels*. A log message's level is determined according to these conventions:
etcd uses the [zap][zap] library for logging application output categorized into *levels*. A log message's level is determined according to these conventions:

* Error: Data has been lost, a request has failed for a bad reason, or a required resource has been lost
* Examples:
Expand All @@ -30,4 +30,4 @@ etcd uses the [capnslog][capnslog] library for logging application output catego
* Send a normal message to a remote peer
* Write a log entry to disk

[capnslog]: https://github.com/coreos/pkg/tree/master/capnslog
[zap]: https://github.com/uber-go/zap
4 changes: 2 additions & 2 deletions content/en/docs/v3.6/dev-internal/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ weight: 1600
description: Logging level categories
---

etcd uses the [capnslog][capnslog] library for logging application output categorized into *levels*. A log message's level is determined according to these conventions:
etcd uses the [zap][zap] library for logging application output categorized into *levels*. A log message's level is determined according to these conventions:

* Error: Data has been lost, a request has failed for a bad reason, or a required resource has been lost
* Examples:
Expand All @@ -30,4 +30,4 @@ etcd uses the [capnslog][capnslog] library for logging application output catego
* Send a normal message to a remote peer
* Write a log entry to disk

[capnslog]: https://github.com/coreos/pkg/tree/master/capnslog
[zap]: https://github.com/uber-go/zap

0 comments on commit a729e00

Please sign in to comment.