)]}'
{"doc/source/examples/_i18n.py":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation"},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#  Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_2cb35b0c","line":1,"range":{"start_line":1,"start_character":16,"end_line":1,"end_character":20},"updated":"2016-01-07 22:55:49.000000000","message":"2016","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"}],"doc/source/examples/oslo_logging.py":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_8ca5a7b6","line":1,"range":{"start_line":1,"start_character":16,"end_line":1,"end_character":20},"updated":"2016-01-07 22:55:49.000000000","message":"2016","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Oslo Logging uses INFO as default"},{"line_number":28,"context_line":"LOG.info(\"Oslo Logging\")"},{"line_number":29,"context_line":"LOG.warn(\"Oslo Logging\")"},{"line_number":30,"context_line":"LOG.error(\"Oslo Logging\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_eca2239a","line":29,"range":{"start_line":29,"start_character":4,"end_line":29,"end_character":8},"updated":"2016-01-07 22:55:49.000000000","message":"warn is deprecated in favor of warning","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"}],"doc/source/examples/python_logging.py":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_0ca0d78f","line":1,"range":{"start_line":1,"start_character":16,"end_line":1,"end_character":20},"updated":"2016-01-07 22:55:49.000000000","message":"2016","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":22,"context_line":"logging.basicConfig(level\u003dlogging.INFO)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"LOG.info(\"Python Standard Logging\")"},{"line_number":25,"context_line":"LOG.warn(\"Python Standard Logging\")"},{"line_number":26,"context_line":"LOG.error(\"Python Standard Logging\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_cca95f7d","line":25,"range":{"start_line":25,"start_character":4,"end_line":25,"end_character":8},"updated":"2016-01-07 22:55:49.000000000","message":"replace with warning","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"}],"doc/source/examples/usage.py":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_4cb48fd0","line":1,"range":{"start_line":1,"start_character":16,"end_line":1,"end_character":20},"updated":"2016-01-07 22:55:49.000000000","message":"2016","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    # Required setup based on configuration and domain"},{"line_number":72,"context_line":"    logging.setup(CONF, DOMAIN)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    return"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"if __name__ \u003d\u003d \u0027__main__\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_ccc07f2d","line":74,"range":{"start_line":74,"start_character":4,"end_line":74,"end_character":10},"updated":"2016-01-07 22:55:49.000000000","message":"this can be removed as its a no-op","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"}],"doc/source/examples/usage_helper.py":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_ecd0e3f9","line":1,"range":{"start_line":1,"start_character":16,"end_line":1,"end_character":20},"updated":"2016-01-07 22:55:49.000000000","message":"2016","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"}],"doc/source/examples/usage_i18n.py":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_cc1cffc3","line":1,"range":{"start_line":1,"start_character":16,"end_line":1,"end_character":20},"updated":"2016-01-07 22:55:49.000000000","message":"2016","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    # Required setup based on configuration and domain"},{"line_number":73,"context_line":"    logging.setup(CONF, DOMAIN)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    return"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"if __name__ \u003d\u003d \u0027__main__\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_4c87afd7","line":75,"range":{"start_line":75,"start_character":4,"end_line":75,"end_character":10},"updated":"2016-01-07 22:55:49.000000000","message":"can be removed","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"}],"oslo_log/_options.py":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                    \u0027files. For details about logging configuration files, \u0027"},{"line_number":44,"context_line":"                    \u0027see the Python logging module documentation. Note that \u0027"},{"line_number":45,"context_line":"                    \u0027when logging configuration files are used all \u0027"},{"line_number":46,"context_line":"                    \u0027logging configuration is define in the configuration \u0027"},{"line_number":47,"context_line":"                    \u0027file and other logging configuration options are ignored \u0027"},{"line_number":48,"context_line":"                    \u0027(for example, log_format).\u0027),"},{"line_number":49,"context_line":"    cfg.StrOpt(\u0027log-format\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_2cd03bc9","line":46,"range":{"start_line":46,"start_character":46,"end_line":46,"end_character":52},"updated":"2016-01-07 22:55:49.000000000","message":"defined","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    cfg.StrOpt(\u0027log-date-format\u0027,"},{"line_number":59,"context_line":"               default\u003d_DEFAULT_LOG_DATE_FORMAT,"},{"line_number":60,"context_line":"               metavar\u003d\u0027DATE_FORMAT\u0027,"},{"line_number":61,"context_line":"               help\u003d\u0027Define the format string for %(asctime)s in log records. \u0027"},{"line_number":62,"context_line":"                    \u0027Default: %(default)s . \u0027"},{"line_number":63,"context_line":"                    + _IGNORE_MESSAGE),"},{"line_number":64,"context_line":"    cfg.StrOpt(\u0027log-file\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_0cff7735","line":61,"range":{"start_line":61,"start_character":21,"end_line":61,"end_character":27},"updated":"2016-01-07 22:55:49.000000000","message":"Defines","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":130,"context_line":"               default\u003d\u0027%(asctime)s.%(msecs)03d %(process)d %(levelname)s \u0027"},{"line_number":131,"context_line":"                       \u0027%(name)s [-] %(instance)s%(message)s\u0027,"},{"line_number":132,"context_line":"               help\u003d\u0027Format string to use for log messages when context is \u0027"},{"line_number":133,"context_line":"                    \u0027not defined.\u0027),"},{"line_number":134,"context_line":"    cfg.StrOpt(\u0027logging_debug_format_suffix\u0027,"},{"line_number":135,"context_line":"               default\u003d\u0027%(funcName)s %(pathname)s:%(lineno)d\u0027,"},{"line_number":136,"context_line":"               help\u003d\u0027Additional data to append to log message when logging \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_8c992722","line":133,"range":{"start_line":133,"start_character":21,"end_line":133,"end_character":32},"updated":"2016-01-07 22:55:49.000000000","message":"undefined","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"89a8b372536600eb8684e63cb8690f07182e16da","unresolved":false,"context_lines":[{"line_number":142,"context_line":"    cfg.StrOpt(\u0027logging_user_identity_format\u0027,"},{"line_number":143,"context_line":"               default\u003d\u0027%(user)s %(tenant)s \u0027"},{"line_number":144,"context_line":"                       \u0027%(domain)s %(user_domain)s %(project_domain)s\u0027,"},{"line_number":145,"context_line":"               help\u003d\u0027Define the format string for %(user_identity)s that \u0027"},{"line_number":146,"context_line":"                    \u0027is used in logging_context_format_string.\u0027),"},{"line_number":147,"context_line":"    cfg.ListOpt(\u0027default_log_levels\u0027,"},{"line_number":148,"context_line":"                default\u003dDEFAULT_LOG_LEVELS,"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_4ca32f50","line":145,"range":{"start_line":145,"start_character":21,"end_line":145,"end_character":27},"updated":"2016-01-07 22:55:49.000000000","message":"Defines","commit_id":"bbb9121390c95b3fcdc4327d87041f4049da7a74"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ac383fb73a0ad3fd3b6f73d5a040bab6f8c1c864","unresolved":false,"context_lines":[{"line_number":41,"context_line":"                short\u003d\u0027v\u0027,"},{"line_number":42,"context_line":"                default\u003dTrue,"},{"line_number":43,"context_line":"                help\u003d\u0027If set to false, the logging level will be set to \u0027"},{"line_number":44,"context_line":"                     \u0027WARNING instead of the default INFO level.\u0027,"},{"line_number":45,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":46,"context_line":"]"},{"line_number":47,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_d1d5d642","line":44,"updated":"2016-01-11 22:19:15.000000000","message":"I never noticed the phrasing here before. The default for this flag is True and I don\u0027t see a way to make it False. I wonder if the default is related to the deprecated_for_removal setting on the next line.","commit_id":"185c10a36b347873bc51acb883eb8618f2ca738f"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"843e42d67c5241e9b31cd418e9427275e2bee627","unresolved":false,"context_lines":[{"line_number":41,"context_line":"                short\u003d\u0027v\u0027,"},{"line_number":42,"context_line":"                default\u003dTrue,"},{"line_number":43,"context_line":"                help\u003d\u0027If set to false, the logging level will be set to \u0027"},{"line_number":44,"context_line":"                     \u0027WARNING instead of the default INFO level.\u0027,"},{"line_number":45,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":46,"context_line":"]"},{"line_number":47,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_c8bff5ce","line":44,"in_reply_to":"da6ed579_8caaa784","updated":"2016-01-12 18:24:16.000000000","message":"OK, if it\u0027s working that\u0027s fine.","commit_id":"185c10a36b347873bc51acb883eb8618f2ca738f"},{"author":{"_account_id":16051,"name":"Ronald Bradford","email":"ronald.bradford@gmail.com","username":"ronaldbradford"},"change_message_id":"019fc1ff954c30d4060a1fdd3b9bd672d698c7c3","unresolved":false,"context_lines":[{"line_number":41,"context_line":"                short\u003d\u0027v\u0027,"},{"line_number":42,"context_line":"                default\u003dTrue,"},{"line_number":43,"context_line":"                help\u003d\u0027If set to false, the logging level will be set to \u0027"},{"line_number":44,"context_line":"                     \u0027WARNING instead of the default INFO level.\u0027,"},{"line_number":45,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":46,"context_line":"]"},{"line_number":47,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_725d97e8","line":44,"in_reply_to":"da6ed579_c8bff5ce","updated":"2016-01-12 19:15:59.000000000","message":"Testing in devstack using glance with debug\u003dTrue (and no setting for verbose) gives INFO messages.\n\nset debug\u003dFalse and verbose\u003dTrue gives NO INFO messages.\n\nI agree it seems somewhat confusing, and if deprecated_for_removal I will investigate to add a comment in which release.","commit_id":"185c10a36b347873bc51acb883eb8618f2ca738f"},{"author":{"_account_id":16051,"name":"Ronald Bradford","email":"ronald.bradford@gmail.com","username":"ronaldbradford"},"change_message_id":"ce9773abd833fd33f8ed8b31e0312ff64e695ab9","unresolved":false,"context_lines":[{"line_number":41,"context_line":"                short\u003d\u0027v\u0027,"},{"line_number":42,"context_line":"                default\u003dTrue,"},{"line_number":43,"context_line":"                help\u003d\u0027If set to false, the logging level will be set to \u0027"},{"line_number":44,"context_line":"                     \u0027WARNING instead of the default INFO level.\u0027,"},{"line_number":45,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":46,"context_line":"]"},{"line_number":47,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_8caaa784","line":44,"in_reply_to":"fa69d971_d1d5d642","updated":"2016-01-12 15:00:31.000000000","message":"I have not tested any project to verify what debug and verbose actually do in this case. I was changing the message text to read more consistently in both help messages.","commit_id":"185c10a36b347873bc51acb883eb8618f2ca738f"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ac383fb73a0ad3fd3b6f73d5a040bab6f8c1c864","unresolved":false,"context_lines":[{"line_number":142,"context_line":"    cfg.StrOpt(\u0027logging_user_identity_format\u0027,"},{"line_number":143,"context_line":"               default\u003d\u0027%(user)s %(tenant)s \u0027"},{"line_number":144,"context_line":"                       \u0027%(domain)s %(user_domain)s %(project_domain)s\u0027,"},{"line_number":145,"context_line":"               help\u003d\u0027Defines the format string for %(user_identity)s that \u0027"},{"line_number":146,"context_line":"                    \u0027is used in logging_context_format_string.\u0027),"},{"line_number":147,"context_line":"    cfg.ListOpt(\u0027default_log_levels\u0027,"},{"line_number":148,"context_line":"                default\u003dDEFAULT_LOG_LEVELS,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_4926e117","line":145,"range":{"start_line":145,"start_character":51,"end_line":145,"end_character":68},"updated":"2016-01-11 22:19:15.000000000","message":"Does that need to be \"%%(user_identity)s\"?","commit_id":"185c10a36b347873bc51acb883eb8618f2ca738f"},{"author":{"_account_id":16051,"name":"Ronald Bradford","email":"ronald.bradford@gmail.com","username":"ronaldbradford"},"change_message_id":"ce9773abd833fd33f8ed8b31e0312ff64e695ab9","unresolved":false,"context_lines":[{"line_number":142,"context_line":"    cfg.StrOpt(\u0027logging_user_identity_format\u0027,"},{"line_number":143,"context_line":"               default\u003d\u0027%(user)s %(tenant)s \u0027"},{"line_number":144,"context_line":"                       \u0027%(domain)s %(user_domain)s %(project_domain)s\u0027,"},{"line_number":145,"context_line":"               help\u003d\u0027Defines the format string for %(user_identity)s that \u0027"},{"line_number":146,"context_line":"                    \u0027is used in logging_context_format_string.\u0027),"},{"line_number":147,"context_line":"    cfg.ListOpt(\u0027default_log_levels\u0027,"},{"line_number":148,"context_line":"                default\u003dDEFAULT_LOG_LEVELS,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_2487eb10","line":145,"range":{"start_line":145,"start_character":51,"end_line":145,"end_character":68},"in_reply_to":"da6ed579_4926e117","updated":"2016-01-12 15:00:31.000000000","message":"Given that %%(asctime)s is necessary to ensure print_help() works in unit tests, you would think s, but this works as originally defined. I raised a bug at https://bugs.launchpad.net/oslo.config/+bug/1532966 for first occurrence.\n\nA code use difference between both is the use of conf.register_cli_opts() for %%(asctime)s and conf.register_opts() for %(user_identity)s however I have no details to determine if this is related.","commit_id":"185c10a36b347873bc51acb883eb8618f2ca738f"}]}
