Re: [openstack-dev] [nova] loss of WSGI request logs with request-id under uwsgi/apache - PLAN OF ACTION

2017-07-20 Thread Sean Dague
On 07/20/2017 09:27 AM, Sean Dague wrote: > Here is a starting patch that gets us close (no tests yet) - > https://review.openstack.org/#/c/485602/ - it's going to require a paste > change, which is less than idea. After some #openstack-nova IRC discussion this morning, we decided the following:

Re: [openstack-dev] [nova] loss of WSGI request logs with request-id under uwsgi/apache

2017-07-20 Thread Sean Dague
On 07/19/2017 06:28 PM, Matt Riedemann wrote: > On 7/19/2017 6:16 AM, Sean Dague wrote: >> We hit a similar issue with placement, and added custom >> paste middleware for that. Maybe we need to consider a similar thing >> here, that would only emit if running under uwsgi/apache? > > For example,

Re: [openstack-dev] [nova] loss of WSGI request logs with request-id under uwsgi/apache

2017-07-20 Thread Sean Dague
On 07/19/2017 06:28 PM, Matt Riedemann wrote: > On 7/19/2017 6:16 AM, Sean Dague wrote: >> We hit a similar issue with placement, and added custom >> paste middleware for that. Maybe we need to consider a similar thing >> here, that would only emit if running under uwsgi/apache? > > For example,

Re: [openstack-dev] [nova] loss of WSGI request logs with request-id under uwsgi/apache

2017-07-20 Thread Sean Dague
On 07/19/2017 09:46 PM, Matt Riedemann wrote: > On 7/19/2017 6:16 AM, Sean Dague wrote: >> I was just starting to look through some logs to see if I could line up >> request ids (part of global request id efforts), when I realized that in >> the process to uwsgi by default, we've entirely lost the

Re: [openstack-dev] [nova] loss of WSGI request logs with request-id under uwsgi/apache

2017-07-19 Thread Matt Riedemann
On 7/19/2017 6:16 AM, Sean Dague wrote: I was just starting to look through some logs to see if I could line up request ids (part of global request id efforts), when I realized that in the process to uwsgi by default, we've entirely lost the INFO wsgi request logs. :( Instead of the old format

Re: [openstack-dev] [nova] loss of WSGI request logs with request-id under uwsgi/apache

2017-07-19 Thread Matt Riedemann
On 7/19/2017 6:16 AM, Sean Dague wrote: We hit a similar issue with placement, and added custom paste middleware for that. Maybe we need to consider a similar thing here, that would only emit if running under uwsgi/apache? For example, this:

[openstack-dev] [nova] loss of WSGI request logs with request-id under uwsgi/apache

2017-07-19 Thread Sean Dague
I was just starting to look through some logs to see if I could line up request ids (part of global request id efforts), when I realized that in the process to uwsgi by default, we've entirely lost the INFO wsgi request logs. :( Instead of the old format (which was coming out of oslo.service) we