Bug 1948040 - cluster-etcd-operator: etcd is using deprecated logger
Summary: cluster-etcd-operator: etcd is using deprecated logger
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.0
Assignee: Sam Batschelet
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-09 20:11 UTC by Sam Batschelet
Modified: 2021-07-27 22:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: Use zap logger Reason: etcd is currently using the deprecated capnlog and should be replaced with zap Result: The loogs show json formatted output coming from the zap logger.
Clone Of:
Environment:
Last Closed: 2021-07-27 22:58:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-etcd-operator pull 562 0 None open Bug 1948040: *: enable zap as default logger 2021-04-09 20:16:40 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:59:12 UTC

Description Sam Batschelet 2021-04-09 20:11:06 UTC
Description of problem:etcd is currently using the deprecated capnlog and should be replaced with zap

```
[WARNING] Deprecated '--logger=capnslog' flag is set; use '--logger=zap' flag instead
```


Version-Release number of selected component (if applicable):


How reproducible: 100%


Steps to Reproduce:
1. review etcd logs
2.
3.

Actual results: deprecated warning prints as per above


Expected results: etcd does not use deprecated flags


Additional info:

Comment 6 errata-xmlrpc 2021-07-27 22:58:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.