Home
 

Customer Support

Search for keywords:

Browse by category:

Will I have access to raw logfiles?

By default, no Apache access logs are written inside your account. If you want your raw Apache access logs, you can turn them on in your Control Panel. When you have logged into your control panel with the administrator login and password, you will find a "Access log settings" link on the left-hand side of the screen. Once there, click the "Enable Logs" button. Your logs will now write into your /logs directory along with Apache error logs.

Turning Apache logging on could result in using a lot of disk space which will be billable to your account if your disk usage exceeds the amount included in your hosting plan.

Logging is not necessary for traffic analysis reports since those reports are not based on the logs in your /logs directory. Therefore, most users should leave Apache logging set to the default, which is OFF.

User-Contributed Notes

add a note
20-Mar-2003 12:17
Get rid of all old logfiles by typing:

     rm -f /logs/*

Disk usage meters will not go down until the next month because they
show maximum usage.

12-May-2003 21:15
If you want to check for broken links, you don't need your logfiles. You
can use one of these link checking scripts:

http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Miscellaneous/Lin
k_Verification/

http://www.hotscripts.com/PHP/Scripts_and_Programs/Link_Checking/

14-Nov-2003 12:34
The Apache logformat used is:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
%V" combined

18-Nov-2003 18:51
You can trash old logfiles by running this command from a shell prompt:

    find /logs -ctime +32 -type f -exec rm -f {} \; 

That will delete all files in the /logs directory that are more than 32
days old.

18-Nov-2003 19:16
You could rotate your raw logfiles on a daily crontab like this:

   mv /logs/access_log_`date '+%Y-%m'` /logs/access_log_`date
'+%Y-%m-%d'`

add a note

Related Questions:


Why does my website just say "Error 403 Forbidden"?

How do I protect a directory with .htaccess?

How can I show a default page other than index.html?

How do I stop people from getting directory listings when I dont have an index page?

What do the different HTTP Status Codes like 200, 304, 404, 401, 403 mean?

How do I protect a directory with mod_auth_mysql?

What options are configured with Apache and what can I do with .htaccess files?

How do I stop other websites from using my bandwidth while they steal images, flash, etc. from my site?

Which Apache modules are installed?

How can I make apache recognize different MIME types?

How do I make my own Error Documents to replace the default ones like 404 Not Found?

The webservers' Gzip compression is messing up my XML or Flash files for Netscape 4 browsers. How do I turn off compression?

How do I get different character sets to display correctly?

Why am I getting a 412 Precondition Failed from a website?

What webserver do you run?

My mod_rewrite rules make my website stop loading.

I created a symbolic link, and now I am getting a 404 errors.

How do I stop the server from automatically correcting spelling mistakes in URLs or offering multiple choices for documents?

How do I protect my website from comment spam?

How do I redirect traffic to another web page?

How do I enforce the use of SSL on my website?

Why do my mod_security rules cause intermittent Internal Server Errrors?

How can I make it clear to search engines that mydomain.com and www.mydomain.com are the same site?

Browse Categories:

Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales


Modwest PHP Hosting      Copyright 2000-2009 by Modwest, Inc.      About    |    Blog    |    Community    |    Design    |    Jobs    |    Contact