[openstack-dev] [nova][log] output of the x-openstack-request-id

wpf wpf710 at gmail.com
Tue Oct 21 03:10:11 UTC 2014


when checking the nova/api.log , I found the following entry as below

2014-10-20 11:26:11.387 3549 INFO nova.osapi_compute.wsgi.server
[req-d7cc3757-f1e3-4af9-8700-a6f7fa096a6b None] 10.104.0.138 "GET
/v2/896bfb02c3f945d8a397c79f0741557a/os-floating-ips HTTP/1.1" status: 200
len: 192 time: 0.1119120

I understand that it's the combination of the x-openstack-request-id ,
request url and also the response status and etc.

Since I also want to add the similar logline into other projects ,so want
to mimic the the nova source code.

but anyway, after searching the code with 'x-openstack-request-id',  even
with 'LOG.info' ,  I failed to find it.

anyone can help me with that where/what codes to generated the output?

Thanks



-- 

Cheers & Best regards,
Peng Fei Wang (王鹏飞)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141021/6d550fdf/attachment.html>


More information about the OpenStack-dev mailing list