)]}'
{"swiftclient/shell.py":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"a222c3a8c7851e25f8c20c4705de34f06014ae62","unresolved":false,"context_lines":[{"line_number":1416,"context_line":"            logging.basicConfig(level\u003dlogging.DEBUG)"},{"line_number":1417,"context_line":"        elif options.info:"},{"line_number":1418,"context_line":"            logging.basicConfig(level\u003dlogging.INFO)"},{"line_number":1419,"context_line":"        logging.info(\u0027Using auth version %s\u0027 % options.auth_version)"},{"line_number":1420,"context_line":""},{"line_number":1421,"context_line":"    with OutputManager() as output:"},{"line_number":1422,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ba8a016a_ab660627","line":1419,"updated":"2015-11-23 18:55:24.000000000","message":"I think this would be better done when we actually go to fetch the auth token (say, in get_auth in client.py). This would let us:\n\n* Only display the auth version if we actually need to talk to an auth system. Currently, if you pass an auth token and storage url, it claims to be using auth v2 when it doesn\u0027t actually know what version the token came from.\n\n* Display the correct auth version, regardless of argument order. Currently, if you pass the auth version on the command line, it would have to be before the subcommand; `swift --info --auth-version 3 stat` logs the correct version, while `swift --info stat --auth-version 3` does not.\n\n* Use a predefined, non-root logger. client.py already has a module-level \"swiftclient\" logger; we may as well use it. Especially since we would then...\n\n* Expose this logging info for API users as well as CLI users. This will let people who are building applications that use swiftclient as a library reap the same benefits.","commit_id":"03de7515a237918682e151aab41411373230ed29"}]}
