[openstack-dev] [mistral][freezer] adopting oslo.context for logging debugging and tracing

Saad Zaher eng.szaher at gmail.com
Fri May 26 11:03:24 UTC 2017


Hi Doug,

Thanks for your review. Actually freezer has a separate repo for the api,
it can be found here [1]. Freezer is using oslo.context since newton. If
you have the time you can take a look at it and let us know if you have any
comments.

Thanks for your help

[1] https://github.com/openstack/freezer-api

Best Regards,
Saad!

On Fri, May 26, 2017 at 5:45 AM, Renat Akhmerov <renat.akhmerov at gmail.com>
wrote:

> Thanks Doug. We’ll look into this.
>
> @Tuan, is there any roadblocks with the patch you’re working on? [1]
>
> [1] https://review.openstack.org/#/c/455407/
>
>
> Renat
>
> On 26 May 2017, 01:54 +0700, Doug Hellmann <doug at doughellmann.com>, wrote:
>
> The new work to add the exception information and request ID tracing
> depends on using both oslo.context and oslo.log to have all of the
> relevant pieces of information available as log messages are emitted.
>
> In the course of reviewing the "done" status for those initiatives,
> I noticed that although mistral and freezer are using oslo.log,
> neither uses oslo.context. That means neither project will get the
> extra debugging information, and neither project will see the global
> request ID in logs.
>
> I started looking at updating mistral's context to use oslo.context
> as a base class, but ran into some issues because of some extensions
> made to the existing class. I wasn't able to find where freezer is
> doing anything at all with an API request context.
>
> I'm available to help, if someone else wants to pick up the work.
>
> Doug
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
--------------------------
Best Regards,
Saad!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170526/6830f87c/attachment.html>


More information about the OpenStack-dev mailing list