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

Matt Riedemann mriedemos at gmail.com
Thu Jul 20 01:46:26 UTC 2017

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 (which was coming out of oslo.service) we get
> the following -
> http://logs.openstack.org/97/479497/3/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/5a0fb17/logs/screen-n-api.txt.gz#_Jul_19_03_44_58_233532
> That definitely takes us a step backwards in understanding the world, as
> we lose our request id on entry that was extremely useful to match up
> everything. 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?
> Thoughts?
> 	-Sean

I'm noticing some other weirdness here:


The first part of the log message got cut off:

Jul 19 20:17:18.801773 ubuntu-xenial-infracloud-vanilla-9950433 




More information about the OpenStack-dev mailing list