1. Home
  2. Computing & Technology
  3. Web Design / HTML

How To Get More Details in Your Web Server Logs on Apache

By Jennifer Kyrnin, About.com

The common log format (CLF) does not include details on the referrer or the user-agent (Web browser) that was used to visit your pages. But it's easy to convert the logging format to the combined log format and get this information.
Difficulty: Easy
Time Required: 1 minute

Here's How:

  1. Login to your Web server.
  2. Edit the httpd.conf file with a text editor.
  3. Find the line that reads:
    CustomLog logs/access_log common
  4. Put a pound-sign (#) at the beginning of that line to comment it out.
  5. Add a new line below it that reads:
    CustomLog logs/access_log combined
  6. Save the file.
  7. Restart the Web server.

What You Need:

  • Apache Web Server
More Web Design / HTML How To's

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2008 About.com, a part of The New York Times Company.

All rights reserved.