GhangZh commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1222180908

   > 
   
   ```bash
       nginx_config:                     # config for render the template to 
genarate nginx.conf
         error_log: "/dev/stderr"
         error_log_level: "warn"         # warn,error
         worker_rlimit_nofile: 60000     # the number of files a worker process 
can open, should be larger than worker_connections
         event:
           worker_connections: 60000
   
         http:
           enable_access_log: true
           access_log: "/dev/stdout"
           access_log_format: "{\"@timestamp\": \"$time_iso8601\", 
\"remote_addr\": \"$remote_addr\", \"costime\": $request_time, \"realtime\": 
\"$upstream_response_time\", \"status\": $status, \"x_forwarded\": 
\"$http_x_forwarded_for\", \"vhost\": \"$host\", 
\"server_addr\":\"$server_addr\", \"referer\": \"$http_referer\", \"method\": 
\"$request_method\", \"url\": \"$uri\", \"args\": \"$args\", 
\"request_url\":\"$request_uri\", \"upstream_name\":\"$upstream_name\", 
\"upstr_addr\": \"$upstream_addr\",\"bytes\": $bytes_sent, 
\"body_bytes\":$body_bytes_sent, \"http_agent\": \"$http_user_agent\"}"
           access_log_format_escape: json
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to