Solved

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

Posted on 2008-06-12
6
259 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
DevOps Toolchain Recommendations

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

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now