https://review.openstack.org/#/c/262237/ - see comments here. Oslo.log
did that work for us=)

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1563174

Title:
  Using LOG.warning replace LOG.warn

Status in Glance:
  Invalid

Bug description:
  Python 3 deprecated the logger.warn method [1] so I prefer to use warning to 
avoid DeprecationWarning. 
  If we are using logger from oslo.log, warn is still valid [2]. But i think 
switching to LOG.warning is better.

  [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

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1563174/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to