gxthrj commented on a change in pull request #2269:
URL: https://github.com/apache/apisix/pull/2269#discussion_r491868003
##########
File path: .travis/apisix_cli_test.sh
##########
@@ -268,3 +268,34 @@ fi
git checkout conf/config.yaml
echo "passed: worker_processes number is configurable"
+
+# access log with JSON format
+
+echo '
+nginx_config:
+ http:
+ access_log_format: |-
+ {"@timestamp": "$time_iso8601", "client_ip": "$remote_addr", "status":
"$status"}
+ access_log_format_escape: json
+' > conf/config.yaml
Review comment:
how about use `>>` instead of `>`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]