)]}'
{"swiftclient/client.py":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"b0428fca27675ed712ba2eb46cb1a5e65166e162","unresolved":false,"context_lines":[{"line_number":78,"context_line":"#:"},{"line_number":79,"context_line":"#: To disable, set the value of ``redact_sensitive_tokens`` to ``False``."},{"line_number":80,"context_line":"#:"},{"line_number":81,"context_line":"#: When token redaction is enabled, ``reveal_sensitive_prefix`` configures the"},{"line_number":82,"context_line":"#: maximum length of any sensitive token data sent to the logs. If the token"},{"line_number":83,"context_line":"#: is less than twice this length, only ``int(len(token)/2)`` chars will be"},{"line_number":84,"context_line":"#: logged; if it is less than 8 chars long, even less will be logged."}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_66454316","line":81,"updated":"2016-02-25 09:45:43.000000000","message":"nit: there\u0027s a mix of \"token\" and \"header values\" where not all redacted header values are tokens.","commit_id":"c865a11c6951c5cd5ba64c56c21b4ba2f7237355"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"b0428fca27675ed712ba2eb46cb1a5e65166e162","unresolved":false,"context_lines":[{"line_number":81,"context_line":"#: When token redaction is enabled, ``reveal_sensitive_prefix`` configures the"},{"line_number":82,"context_line":"#: maximum length of any sensitive token data sent to the logs. If the token"},{"line_number":83,"context_line":"#: is less than twice this length, only ``int(len(token)/2)`` chars will be"},{"line_number":84,"context_line":"#: logged; if it is less than 8 chars long, even less will be logged."},{"line_number":85,"context_line":"logger_settings \u003d {"},{"line_number":86,"context_line":"    \u0027redact_sensitive_tokens\u0027: True,"},{"line_number":87,"context_line":"    \u0027reveal_sensitive_prefix\u0027: 16"}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_a3229dff","line":84,"updated":"2016-02-25 09:45:43.000000000","message":"The \"even less\" mode is for token length \u003c 15. For example if token length is 12 then the logged length is 4.\n\n  (x**2)/32 \u003c x/2 -\u003e x \u003c 16","commit_id":"c865a11c6951c5cd5ba64c56c21b4ba2f7237355"}]}
