Questions tagged «varnishncsa»

1
如何记录响应请求的后端名称
我正在使用varnishncsa记录请求,这些请求花了很长时间才能在后端服务器上通过以下命令得到响应: varnishncsa -F '%t "%r" %s %T' | awk '$7 > 10 {print}' 我试图在后端名称上添加信息,但是此信息未显示在varnishncsa输出中: sub vcl_backend_response { std.log("backend_name:" + beresp.backend.name); } 我做错了什么?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.