Hello!
On Tue, Apr 14, 2009 at 12:44:50AM +0530, Deepan Chakravarthy wrote:
> Hi,
> Is it possible to log the time taken for each request in the log file ? Or
> is there a package like apache top for nginx ?
http://wiki.nginx.org/NginxHttpLogModule#log_format
$request_time
Note that this time depends on the client behaviour, not only
server performance. Take a look at $upstream_response_time if you
need something more related to your backend performance, see
http://wiki.nginx.org/NginxHttpUpstreamModule#.24upstream_response_time.
Maxim Dounin