[openstack-dev] RFC - Icehouse logging harmonization

Robert Collins robertc at robertcollins.net
Wed Oct 23 19:26:02 UTC 2013


On 24 October 2013 08:14, Dolph Mathews <dolph.mathews at gmail.com> wrote:
>
> On Wed, Oct 23, 2013 at 1:20 PM, Sean Dague <sean at dague.net> wrote:

>
> Deprecation warnings!
>
> Based on the approach we're taking in the patch below, we'll be able to
> notate how imminently a feature is facing deprecation. Right now, they're
> just landing in WARNING, but I think we'll surely a desire to silence,
> prioritize or redirect those messages using different log levels (for
> example, based on how imminently a feature is facing deprecation).
>
> https://review.openstack.org/#/c/50486/

Huh, I did not see that go by. Python already has built in signalling
for deprecated features; I think we should be using that. We can of
course wrap it with a little sugar to make it easy to encode future
deprecations.

-Rob

-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the OpenStack-dev mailing list