Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does one log slow HTTP responses? I'm using Lighttpd, but could switch to another webserver if necessary.

Apache can log response times, but not conditionally, it seems.

Apache Bench and httping are useful client-side for some general testing but aren't useful for long term logging.

share|improve this question

Why not use the piped logs functionality to achieve this? You'll probably have to write your own shell script to write the "slow responses" to a separate file, but you're in complete control here.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.