Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-05-02 Thread Ronald Bradford
Julien, As mentioned I have been working thru the App Agnostic Parameters blueprint that will cover review of context attributes and kwarg specific use of oslo.log. Presently due to legacy nova usage this current pattern is needed as it. There was also a discussion at Austin with Michael Still

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-15 Thread Matt Riedemann
On 4/15/2016 3:11 AM, Julien Danjou wrote: On Thu, Apr 14 2016, Joshua Harlow wrote: Well not entirely IMHO. I think oslo should obviously be easy to use inside openstack and as well outside, with preference to inside openstack (especially for libraries that start with 'oslo.*'). When we can

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-15 Thread Julien Danjou
On Thu, Apr 14 2016, Joshua Harlow wrote: > Well not entirely IMHO. I think oslo should obviously be easy to use inside > openstack and as well outside, with preference to inside openstack (especially > for libraries that start with 'oslo.*'). When we can make it more useable > outside openstack

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-14 Thread Joshua Harlow
Victor Stinner wrote: Le 13/04/2016 22:54, Julien Danjou a écrit : There's a bunch of projects that have no intention of using oslo.context, so depending and referring to it by default is something I'd love to fade away. It looks like Oslo has an identity crisis :-) Well not entirely IMHO.

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-14 Thread Victor Stinner
Le 13/04/2016 22:54, Julien Danjou a écrit : There's a bunch of projects that have no intention of using oslo.context, so depending and referring to it by default is something I'd love to fade away. It looks like Oslo has an identity crisis :-) Basically the question looks like: should we

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-13 Thread Julien Danjou
On Wed, Apr 13 2016, Doug Hellmann wrote: >> I'm not sure why oslo.context is an issue though. That's mostly about >> putting in the common information about the identity of the requester >> into the stream. > > The context is also the place, frequently, where we know the id of the > resource on

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-13 Thread Doug Hellmann
Excerpts from Sean Dague's message of 2016-04-11 10:16:23 -0400: > On 04/11/2016 10:08 AM, Ed Leafe wrote: > > On 04/11/2016 08:38 AM, Julien Danjou wrote: > > > >> There's a lot of assumption in oslo.log about Nova, such as talking > >> about "instance" and "context" in a lot of the code by

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-13 Thread Doug Hellmann
Excerpts from Julien Danjou's message of 2016-04-11 15:38:44 +0200: > Hi, > > There's a lot of assumption in oslo.log about Nova, such as talking > about "instance" and "context" in a lot of the code by default. There's > even a dependency on oslo.context. >.< > > That's being an issue for

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-12 Thread Michael Still
On 12 Apr 2016 12:19 AM, "Sean Dague" wrote: > > On 04/11/2016 10:08 AM, Ed Leafe wrote: > > On 04/11/2016 08:38 AM, Julien Danjou wrote: > > > >> There's a lot of assumption in oslo.log about Nova, such as talking > >> about "instance" and "context" in a lot of the code by

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-11 Thread Sean Dague
On 04/11/2016 10:08 AM, Ed Leafe wrote: > On 04/11/2016 08:38 AM, Julien Danjou wrote: > >> There's a lot of assumption in oslo.log about Nova, such as talking >> about "instance" and "context" in a lot of the code by default. There's >> even a dependency on oslo.context. >.< >> >> That's being

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-11 Thread Ed Leafe
On 04/11/2016 08:38 AM, Julien Danjou wrote: > There's a lot of assumption in oslo.log about Nova, such as talking > about "instance" and "context" in a lot of the code by default. There's > even a dependency on oslo.context. >.< > > That's being an issue for projects not being Nova, where we