)]}'
{"neutronclient/client.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"87634da72ede2e179660920e633289d5e5bf8ab5","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        # log request-id for each api call"},{"line_number":115,"context_line":"        request_id \u003d resp.headers.get(\u0027x-openstack-request-id\u0027)"},{"line_number":116,"context_line":"        if request_id:"},{"line_number":117,"context_line":"            _logger.debug(\u0027%(method)s call to neutron for \u0027"},{"line_number":118,"context_line":"                          \u0027%(url)s used request id \u0027"},{"line_number":119,"context_line":"                          \u0027%(response_request_id)s\u0027,"},{"line_number":120,"context_line":"                          {\u0027method\u0027: resp.request.method,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_270f2a89","line":117,"range":{"start_line":117,"start_character":46,"end_line":117,"end_character":53},"updated":"2017-01-23 07:56:48.000000000","message":"Which is suggested: neutron vs network?","commit_id":"1e9ab9efb5d3a698492da44e06789ba5942242ae"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"73397dedeb4bc49269fa20e801bcff26096c5234","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        # log request-id for each api call"},{"line_number":115,"context_line":"        request_id \u003d resp.headers.get(\u0027x-openstack-request-id\u0027)"},{"line_number":116,"context_line":"        if request_id:"},{"line_number":117,"context_line":"            _logger.debug(\u0027%(method)s call to neutron for \u0027"},{"line_number":118,"context_line":"                          \u0027%(url)s used request id \u0027"},{"line_number":119,"context_line":"                          \u0027%(response_request_id)s\u0027,"},{"line_number":120,"context_line":"                          {\u0027method\u0027: resp.request.method,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_62cd6930","line":117,"range":{"start_line":117,"start_character":46,"end_line":117,"end_character":53},"in_reply_to":"5a3905b3_270f2a89","updated":"2017-01-24 04:49:24.000000000","message":"\u0027network\u0027 i think, but it looks like it was \u0027neutron\u0027 in the other file that was changed","commit_id":"1e9ab9efb5d3a698492da44e06789ba5942242ae"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"7d2281a7a5db21988d3ccaa0c1ea6ad9c5ffcce5","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        # log request-id for each api call"},{"line_number":115,"context_line":"        request_id \u003d resp.headers.get(\u0027x-openstack-request-id\u0027)"},{"line_number":116,"context_line":"        if request_id:"},{"line_number":117,"context_line":"            _logger.debug(\u0027%(method)s call to neutron for \u0027"},{"line_number":118,"context_line":"                          \u0027%(url)s used request id \u0027"},{"line_number":119,"context_line":"                          \u0027%(response_request_id)s\u0027,"},{"line_number":120,"context_line":"                          {\u0027method\u0027: resp.request.method,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_9b84800b","line":117,"range":{"start_line":117,"start_character":46,"end_line":117,"end_character":53},"in_reply_to":"5a3905b3_62cd6930","updated":"2017-01-24 06:37:05.000000000","message":"I have kept it as neutron as earlier it was neutron only. Please let me know if I can change it to network.","commit_id":"1e9ab9efb5d3a698492da44e06789ba5942242ae"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"87634da72ede2e179660920e633289d5e5bf8ab5","unresolved":false,"context_lines":[{"line_number":119,"context_line":"                          \u0027%(response_request_id)s\u0027,"},{"line_number":120,"context_line":"                          {\u0027method\u0027: resp.request.method,"},{"line_number":121,"context_line":"                           \u0027url\u0027: resp.url,"},{"line_number":122,"context_line":"                           \u0027response_request_id\u0027: request_id})"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        if resp.status_code \u003d\u003d 401:"},{"line_number":125,"context_line":"            raise exceptions.Unauthorized(message\u003dbody)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_4a7efb19","line":122,"updated":"2017-01-23 07:56:48.000000000","message":"Previously request-ID logging is output per do_request(). In the new code, request-ID logging is output multiple times per do_request() as it is output per _cs_request(). See do_request at L.172 for details. For example, when Unauthorized exception is returned, _cs_request() is called multiple time.\n\nI am okay with the behavior change, but I think one important point is that the new behavior matches the behavior of SessionClient.","commit_id":"1e9ab9efb5d3a698492da44e06789ba5942242ae"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"64a6a03302de43e3975c5ba3861f94c649ecffe5","unresolved":false,"context_lines":[{"line_number":119,"context_line":"                          \u0027%(response_request_id)s\u0027,"},{"line_number":120,"context_line":"                          {\u0027method\u0027: resp.request.method,"},{"line_number":121,"context_line":"                           \u0027url\u0027: resp.url,"},{"line_number":122,"context_line":"                           \u0027response_request_id\u0027: request_id})"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        if resp.status_code \u003d\u003d 401:"},{"line_number":125,"context_line":"            raise exceptions.Unauthorized(message\u003dbody)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_0d3911d9","line":122,"in_reply_to":"5a3905b3_3b92ac4c","updated":"2017-02-06 07:57:34.000000000","message":"one question: What for SessionClient? I just would like to see the same behavior.","commit_id":"1e9ab9efb5d3a698492da44e06789ba5942242ae"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"7d2281a7a5db21988d3ccaa0c1ea6ad9c5ffcce5","unresolved":false,"context_lines":[{"line_number":119,"context_line":"                          \u0027%(response_request_id)s\u0027,"},{"line_number":120,"context_line":"                          {\u0027method\u0027: resp.request.method,"},{"line_number":121,"context_line":"                           \u0027url\u0027: resp.url,"},{"line_number":122,"context_line":"                           \u0027response_request_id\u0027: request_id})"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        if resp.status_code \u003d\u003d 401:"},{"line_number":125,"context_line":"            raise exceptions.Unauthorized(message\u003dbody)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a3905b3_3b92ac4c","line":122,"in_reply_to":"5a3905b3_4a7efb19","updated":"2017-01-24 06:37:05.000000000","message":"I think for every response there will be a request-id, so it will be helpful to log all the request-ids for each request is made.","commit_id":"1e9ab9efb5d3a698492da44e06789ba5942242ae"}]}
