Solved

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

Posted on 2008-06-12
6
263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to dynamically set the form action using jQuery.
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).

734 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