Blue Reef Technical Support Blue Reef Virtual Server Reseller ProgramInstallation instructions, manuals, how-tos, and more!About Blue Reef Consulting, Inc.

About Blue Reef Virtual ServersEcommerce Solutions for your Virtual ServerSearch the Blue Reef Virtual Server web site
Return to Blue Reef Virtual Servers Home Page
Order virtual servers, software, computers, and more!
Return to Blue Reef Main Home Page
Specials
Site Map
Support Solutions to help you do business with your Virtual Server.



Blue Reef Virtual Servers
Virtual Server Support
Virtual Server Addons
Servers Stats and Log Reporting
Statistics Overview
Setting Log Formats
Rotating Log Files
Clearing Log Files with vnukelog
Clear Log Files Regularly with Cron
Analog Log File Analyzer
Getstats Log File Analyzer
http-analyzehttp-analyze
Webalizer
WebTrends Log File Analyzer
Request help using our Problem Tracking System
Order a Blue Reef Virtual Server now!


Setting the Web Server Log Formats

By default your Virtual Server web server logs in the Combined Log Format. All access, agent, and referer information is logged to the ~/www/logs/access_log file.

You can change the web server log format to the Common Log Format by modifying your web server configuration file (~/www/conf/httpd.conf) like this:

    # common log format
    LogFormat "%h %l %u %t \"%r\" %>s %b"

    # combined log format
    # IF UNCOMMENTING THE FOLLOWING, PUT THE FOLLOWING
    # TWO LINES ALL ON ONE LINE
    # LogFormat "%h %l %u %t \"%r\" %>s %b
    # \"%{Referer}i\" \"%{User-Agent}i\""

    # The location of the access logfile
    # If this does not start with /, ServerRoot
    # is prepended to it.

    TransferLog logs/access_log

    # If you would like to have a separate agent and referer
    # logfile uncomment the following directives.
    RefererLog logs/referer_log
    AgentLog logs/agent_log

After making the changes above, the web server will log access, agent, and referer information to separate log files, in the Common Log Format.

More Information
You can also define your own log format by modifying the LogFormat directive above. See Module mod_log_config at the Apache Web site for more details.


Turn off Log Files

See this document for more information on turning off your web server log files.

SEE ALSO:

Rotating Server Logs

Scheduled Log Maintenance with Cron

BOOKS TO HELP YOU:

Web Site Stats: Tracking Hits and Analyzing Web Traffic
Web Site Stats:
Tracking Hits and Analyzing Web Traffic


The Web Traffic Bible: Master Strategies for Creating a Traffic JAM on Your Website
The Web Traffic Bible:
Master Strategies for Creating a Traffic JAM on Your Website

Amazon.com logo
Search for :
Enter keywords...