)]}'
{"rally/common/log.py":[{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"c93a7c02db9829871e1345d780ce7117083384fe","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"from rally.common.logging import * #noqa"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"import warnings"},{"line_number":19,"context_line":"warnings.warn(\"rally.common.log is deprecated since Rally 0.1.2. \""}],"source_content_type":"text/x-python","patch_set":2,"id":"7a740942_46893d74","line":16,"updated":"2015-12-08 10:34:15.000000000","message":"pep8 issues:\n - add one more space before #\n - add a space between # and \"noqa\"","commit_id":"ba0aefe49c63e0d3156922a6b0a4d6f22099aa4e"}],"rally/common/logging.py":[{"author":{"_account_id":9601,"name":"Oleh Anufriiev","email":"oanufriev@mirantis.com","username":"oanufriev"},"change_message_id":"438dc3015e876a4f6b51db8f3e68009267116678","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"from rally.common.i18n import _"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"log \u003d __import__(\"logging\")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"DEBUG_OPTS \u003d [cfg.BoolOpt("},{"line_number":27,"context_line":"    \"rally-debug\","}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_39119d04","line":24,"range":{"start_line":24,"start_character":6,"end_line":24,"end_character":27},"updated":"2015-12-08 17:41:06.000000000","message":"Here this module import itself. But have to load python\u0027s builtin logging.\n\n$ cat /tmp/logging.py \n#!/usr/bin/env python3\n\nif __name__ \u003d\u003d \"__main__\":\n    log \u003d __import__(\"logging\")\n    print(log.__file__)\n\n\n$ /tmp/logging.py \n/tmp/logging.py","commit_id":"610c0a0aaffa6d38c30016cadad2f3d7f2ba92a8"},{"author":{"_account_id":18785,"name":"Bo Chi","email":"bochi@tethrnet.com","username":"bochi"},"change_message_id":"1ba38284b287faac9cfb17f839fbc947da8f29a5","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"from rally.common.i18n import _"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"log \u003d __import__(\"logging\")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"DEBUG_OPTS \u003d [cfg.BoolOpt("},{"line_number":27,"context_line":"    \"rally-debug\","}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_30f1996b","line":24,"in_reply_to":"7a740942_39119d04","updated":"2015-12-09 10:19:27.000000000","message":"hi Oleh,  thanks for the comment\n\nhowever I found that when logging.py is imported in rally, __import__(\"logging\") will import the right logging module form python lib.\n\n$ rally deployment list\n/usr/lib/python2.7/logging/__init__.pyc\nThere are no deployments. To create a new deployment, use:\nrally deployment create\n\n$ python \nPython 2.7.6 (default, Jun 22 2015, 17:58:13) \n[GCC 4.8.2] on linux2\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e import rally.common.logging\n/usr/lib/python2.7/logging/__init__.pyc\n\ncurrently don\u0027t know why it doesn\u0027t work in the case writing new logging.py","commit_id":"610c0a0aaffa6d38c30016cadad2f3d7f2ba92a8"}]}
