Solved

How can I log page load times and/or duration of request?

Posted on 2008-06-12
6
260 Views
Last Modified: 2013-12-16
I'd like to be able to custom log page load times and the total duration of the request from a client. If I need to, I'll write a custom module to do so, but need to know how.

For example:
If someone hits a page: http://myserver.com/mypage.html
1. I need to log how long each request took apache to deliver
0
Comment
Question by:randymelder
  • 3
  • 2
6 Comments
 
LVL 9

Expert Comment

by:michofreiha
ID: 21771738
0
 

Author Comment

by:randymelder
ID: 21772015
BTW: we're running OS X... :-/
0
 
LVL 48

Expert Comment

by:Tintin
ID: 21773292
This info is already available with Apache.

See http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:randymelder
ID: 21774434
what about apache 1.3.x???
0
 
LVL 48

Accepted Solution

by:
Tintin earned 250 total points
ID: 21774623
It's also available with Apache 1.3

http://httpd.apache.org/docs/1.3/mod/mod_log_config.html

You might also be interested in the stats from mod_status

http://httpd.apache.org/docs/1.3/mod/mod_status.html

0
 

Author Closing Comment

by:randymelder
ID: 31480499
The solution was somewhat helpful, but did not spell out exactly how to implement. To be a complete solution, it should be precise.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question