You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "jinjianming (via GitHub)" <gi...@apache.org> on 2023/05/16 12:28:00 UTC

[GitHub] [apisix] jinjianming opened a new issue, #9492: help request: access_log_format nginx: [emerg] unknown "proxy_upstream_name" variable

jinjianming opened a new issue, #9492:
URL: https://github.com/apache/apisix/issues/9492

   ### Description
   
   ```
         http:
           enable_access_log: true
           access_log: "/dev/stdout"
           access_log_format: >-
             $remote_addr - [$remote_addr] - $remote_user [$time_local] "$request"
             $status $body_bytes_sent "$http_referer" [$http_x_register_referrer]
             "$http_user_agent" $request_length $upstream_connect_time
             $upstream_header_time $request_time [$proxy_upstream_name] $upstream_addr
             $upstream_response_length $upstream_response_time $upstream_status $req_id
             $host [$proxy_alternative_upstream_name]
   ```
   Utilize the above access_ log_ Format startup prompt proxy_ upstream_ name unknown
   ```
   2023/05/16 20:26:11 [emerg] 1#1: unknown "proxy_upstream_name" variable
   nginx: [emerg] unknown "proxy_upstream_name" variable
   ```
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Hazel6869 commented on issue #9492: help request: access_log_format nginx: [emerg] unknown "proxy_upstream_name" variable

Posted by "Hazel6869 (via GitHub)" <gi...@apache.org>.
Hazel6869 commented on issue #9492:
URL: https://github.com/apache/apisix/issues/9492#issuecomment-1549711243

   @jinjianming Hi, proxy_ upstream_ name is not a variable supported by nignx, you can see https://nginx.org/en/docs/varindex.html


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] lingsamuel commented on issue #9492: help request: access_log_format nginx: [emerg] unknown "proxy_upstream_name" variable

Posted by "lingsamuel (via GitHub)" <gi...@apache.org>.
lingsamuel commented on issue #9492:
URL: https://github.com/apache/apisix/issues/9492#issuecomment-1596376717

   Close, as answered. If there are any further questions, feel free to reopen or file a new issue.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] lingsamuel closed issue #9492: help request: access_log_format nginx: [emerg] unknown "proxy_upstream_name" variable

Posted by "lingsamuel (via GitHub)" <gi...@apache.org>.
lingsamuel closed issue #9492: help request: access_log_format nginx: [emerg] unknown "proxy_upstream_name" variable
URL: https://github.com/apache/apisix/issues/9492


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org