)]}'
{"devstack/lib/zun":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"4e99614ac4689a759378a49d50514b01c03de8b9","unresolved":false,"context_lines":[{"line_number":403,"context_line":"    if [ -f ${enabled_site_file} ] \u0026\u0026 [ \"$ZUN_USE_MOD_WSGI\" \u003d\u003d \"True\" ]; then"},{"line_number":404,"context_line":"        enable_apache_site zun"},{"line_number":405,"context_line":"        restart_apache_server"},{"line_number":406,"context_line":"        tail_log zun-api /var/log/$APACHE_NAME/zun_access.log"},{"line_number":407,"context_line":"    else"},{"line_number":408,"context_line":"        run_process zun-api \"$ZUN_BIN_DIR/zun-api\""},{"line_number":409,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ba2be162_1dddbf70","line":406,"range":{"start_line":406,"start_character":47,"end_line":406,"end_character":57},"updated":"2017-02-28 15:36:42.000000000","message":"It seems the zun_access.log is taken by apache. I guess this should be zun-api.log?","commit_id":"e0ab1808cd1ade97d37fd55b414e1b98f21afae3"},{"author":{"_account_id":12175,"name":"Eli Qiao","email":"qiaoliyong@gmail.com","username":"Eli"},"change_message_id":"354c79fa4ad300bf3c8025c083734f53ee539a0e","unresolved":false,"context_lines":[{"line_number":403,"context_line":"    if [ -f ${enabled_site_file} ] \u0026\u0026 [ \"$ZUN_USE_MOD_WSGI\" \u003d\u003d \"True\" ]; then"},{"line_number":404,"context_line":"        enable_apache_site zun"},{"line_number":405,"context_line":"        restart_apache_server"},{"line_number":406,"context_line":"        tail_log zun-api /var/log/$APACHE_NAME/zun_access.log"},{"line_number":407,"context_line":"    else"},{"line_number":408,"context_line":"        run_process zun-api \"$ZUN_BIN_DIR/zun-api\""},{"line_number":409,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ba2be162_905b3f54","line":406,"range":{"start_line":406,"start_character":47,"end_line":406,"end_character":57},"in_reply_to":"ba2be162_1dddbf70","updated":"2017-03-01 02:54:26.000000000","message":"hongbin, thx for the reviewing.\n\ntail_log won\u0027t create a new log file, it just creates screen(if required) and    run tail -f $log_file\n\nso here zun_access.log is correct. \n\nHere\u0027s the example of nova https://github.com/openstack-dev/devstack/blob/master/files/apache-nova-api.template#L12\n\napache2 create that log, and create a screen to tail it https://github.com/openstack-dev/devstack/blob/master/lib/nova#L808\n\nSo, we ether leave it as zun_access.log or change it in apache2 \u0027s zun.conf","commit_id":"e0ab1808cd1ade97d37fd55b414e1b98f21afae3"},{"author":{"_account_id":12175,"name":"Eli Qiao","email":"qiaoliyong@gmail.com","username":"Eli"},"change_message_id":"7a0f06ac2b67a04af1e9ef4712e052f6ae0654be","unresolved":false,"context_lines":[{"line_number":403,"context_line":"    if [ -f ${enabled_site_file} ] \u0026\u0026 [ \"$ZUN_USE_MOD_WSGI\" \u003d\u003d \"True\" ]; then"},{"line_number":404,"context_line":"        enable_apache_site zun"},{"line_number":405,"context_line":"        restart_apache_server"},{"line_number":406,"context_line":"        tail_log zun-api /var/log/$APACHE_NAME/zun_access.log"},{"line_number":407,"context_line":"    else"},{"line_number":408,"context_line":"        run_process zun-api \"$ZUN_BIN_DIR/zun-api\""},{"line_number":409,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ba2be162_2b6dc804","line":406,"range":{"start_line":406,"start_character":47,"end_line":406,"end_character":57},"in_reply_to":"ba2be162_2b8308ce","updated":"2017-03-01 03:29:13.000000000","message":"yep, API logs are all here if we use mod_wsgi to run zun-api http://logs.openstack.org/74/438774/4/check/gate-zun-devstack-dsvm-docker-sql/c24ca88/logs/apache/","commit_id":"e0ab1808cd1ade97d37fd55b414e1b98f21afae3"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"9bad59fe33d7bfb09469f8a91f4a15a835b2c19e","unresolved":false,"context_lines":[{"line_number":403,"context_line":"    if [ -f ${enabled_site_file} ] \u0026\u0026 [ \"$ZUN_USE_MOD_WSGI\" \u003d\u003d \"True\" ]; then"},{"line_number":404,"context_line":"        enable_apache_site zun"},{"line_number":405,"context_line":"        restart_apache_server"},{"line_number":406,"context_line":"        tail_log zun-api /var/log/$APACHE_NAME/zun_access.log"},{"line_number":407,"context_line":"    else"},{"line_number":408,"context_line":"        run_process zun-api \"$ZUN_BIN_DIR/zun-api\""},{"line_number":409,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ba2be162_2b8308ce","line":406,"range":{"start_line":406,"start_character":47,"end_line":406,"end_character":57},"in_reply_to":"ba2be162_905b3f54","updated":"2017-03-01 03:22:36.000000000","message":"I see. The problem  is I couldn\u0027t find the zun-api.log as before in the gate. I guess we can merge this patch first and could figure it out later.","commit_id":"e0ab1808cd1ade97d37fd55b414e1b98f21afae3"}]}
