Remove the usage of "to_dict()" method in _dictify_context

Bug #1715148 reported by Chenghui Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.log
Fix Released
Low
Takashi Kajinami

Bug Description

As RequestContext.get_logging_values()method has been defined for logging context specific information, the to_dict() method is deprecated for removal in version '5.0.0'

http://git.openstack.org/cgit/openstack/oslo.log/tree/oslo_log/formatters.py#n39

Chenghui Yu (chenghuiyu)
Changed in oslo.log:
status: New → In Progress
assignee: nobody → Chenghui Yu (chenghuiyu)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.log (master)

Fix proposed to branch: master
Review: https://review.openstack.org/501099

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on oslo.log (master)

Change abandoned by Chenghui Yu (<email address hidden>) on branch: master
Review: https://review.openstack.org/501099

Changed in oslo.log:
assignee: Chenghui Yu (chenghuiyu) → nobody
status: In Progress → Confirmed
Changed in oslo.log:
status: Confirmed → In Progress
Revision history for this message
Takashi Kajinami (kajinamit) wrote :
Changed in oslo.log:
importance: Undecided → Low
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.log (master)

Reviewed: https://review.opendev.org/c/openstack/oslo.log/+/914789
Committed: https://opendev.org/openstack/oslo.log/commit/65e33466ae24aae96c3a45680df834cc7f02190a
Submitter: "Zuul (22348)"
Branch: master

commit 65e33466ae24aae96c3a45680df834cc7f02190a
Author: Takashi Kajinami <email address hidden>
Date: Sun Mar 31 01:15:10 2024 +0900

    Remove fallback for old oslo.context

    The get_logging_values method was added in oslo.context 2.0.0[1].

    [1] 22ad2c2c591f16012a75c99bd11b2f30d35bffff

    Closes-Bug: #1715148
    Change-Id: Idb31334674805e821cf5c34b9553b7002d158b6c

Changed in oslo.log:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.log 6.0.0

This issue was fixed in the openstack/oslo.log 6.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.