-
Notifications
You must be signed in to change notification settings - Fork 56
memc upstream statistics #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think you need to turn on the log_subrequest directive in your http://wiki.nginx.org/HttpCoreModule#log_subrequest Best regards, |
Unfortunately it doesn't work. |
Hello! On Tue, Apr 23, 2013 at 10:13 PM, kayrus [email protected] wrote:
-agentzh |
BTW, you're using the "access_log" directive in the wrong way. See the documentation for its usage: http://wiki.nginx.org/HttpLogModule#access_log That is, instead of writing
You should really write
Otherwise nginx will just log into the file named "main" in the current working directory, with the default "combined" format. |
My bad =) Thanks! It works now. |
Is it possible to collect upstream statistics for memc_pass?
I've created the following location for upstream, but nginx doesn't collect any statistics:
log_format main '$host $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" upstream $upstream_response_time TIME: $request_time';
The text was updated successfully, but these errors were encountered: