<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Everyone,<br><br>We are planning to introduce a correlation_id across  for effective debugging of requests that span across services.<br><br>The idea is to pass the correlation_id as part of the request header across services. The job of generating/capturing the correlation_id and setting it as part of the request header is done through the correlation_id.py middleware available through oslo incubator.<br><br>The services that uses the correlation_id middleware can in turn obtain the correlation_id from the request header and use it as part of logging & notification purposes.<br><br>We are planning to make the correlation_id available for logging through thread local storage especially using the existing 'local.strong_store' reference. ( available from oslo-incubator/openstack/common/local.py).<br>ie., by setting the correlation_id as attribute to 'local.strong_store' in the correlation_id middleware.<br><br>Wish to know if its good idea to use the thread local storage from local.py for correlation_id so that it could be used by respective services.<br><br>Thoughts?<br><br>Regards,<br>Venkatesh<br><br><br> <br><br>                                         </div></body>
</html>