[openstack-dev] [All] LOG.warning/LOG.warn

Jay Bryant jsbryant at electronicjungle.net
Sun Aug 17 16:24:25 UTC 2014


I prefer the LOG.warning format and support that given the documentation
you shared.

If there is agreement I would create a hacking check.

On Aug 17, 2014 1:28 AM, "Gary Kotton" <gkotton at vmware.com> wrote:

>  Hi,
> Over the last few weeks I have seen a number of patches where LOG.warn is
> replacing LOG.warning. I think that if we do something it should be the
> opposite as warning is the documented one in python 2 and 3
> https://docs.python.org/3/howto/logging.html.
> Any thoughts?
> Thanks
> Gary
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140817/5451937e/attachment.html>

More information about the OpenStack-dev mailing list