Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

is there any way to grab REQUEST variables as well as other apache information for each request processed? This would especially be handy through a load balancer and proxy as well in order to track each step of the process to an end web server.

share|improve this question

You can view the apache log file as it grows at real time by executing the following command

tail -f /var/log/httpd/access.log

This shows all the lines being appended to log file at that particular time.

or follow the link

share|improve this answer

Adjusts the verbosity of the messages -Apache doc -LogLevel. You can do it in global config in httpd.conf. Or per VHost inside of VirtualHost directive (this way you will be able to configure additional log files using ErrorLog and TransferLog directives).

If you like, you can modify log format, like shown here. By using %r you are able to get the text of the original request line along with HTTP method used.

Then restart/reload apache and try:

tail -f /var/log/httpd/logfile

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.