LOG.warn is deprecated

Bug #1535114 reported by sumit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
terracotta (Juju Charms Collection)
New
Undecided
sumit

Bug Description

LOG.warn is deprecated in Python 3 [1] . But it still used in a few places, non-deprecated LOG.warning should be used instead.

Note: If we are using logger from oslo.log, warn is still valid [2], but I agree we can switch to LOG.warning.

[1]https://docs.python.org/3/library/logging.html#logging.warning
[2]https://github.com/openstack/oslo.log/blob/master/oslo_log/log.py#L85

sumit (er-sksumit)
Changed in terracotta (Juju Charms Collection):
assignee: nobody → sumit (er-sksumit)
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.