Hello,

we recently enabled the JSON logging to feed a Kibana dashboard and look
at the logs with modern tooling.

however it looks like in our Openstack Newton deployment that some
information in the JSON files is missing.

most important missing bit is the request-id, that we use to track an
event across multiple log files on multiple hosts.

Looking at the code it really looks like the request ID is there for the
context formatter and not for the json formatter.

https://github.com/openstack/oslo.log/blob/master/oslo_log/formatters.py#L208

https://github.com/openstack/oslo.log/blob/master/oslo_log/formatters.py#L460

I am an operator and a very bad python developer, so can anyone confirm
that is really missing in the code, and it is not me configuring stuff
wrongly ?

If it is really missing the request-id in the json log formatter, should
I open a bug about this ?

thank you

Saverio


-- 
SWITCH
Saverio Proto, Peta Solutions
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 15, direct +41 44 268 1573
[email protected], http://www.switch.ch

http://www.switch.ch/stories

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to