Bug 1948040 - cluster-etcd-operator: etcd is using deprecated logger
Summary: cluster-etcd-operator: etcd is using deprecated logger
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.7
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.0
Assignee: Sam Batschelet
QA Contact: ge liu
Depends On:
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:
Last Closed: 2021-07-27 22:58:43 UTC
Target Upstream Version:

Attachments (Terms of Use)

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

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.


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