Domlogs - Knowledge Base Archives - Hivelocity Hosting https://www.hivelocity.net/kb/tag/domlogs/ Dedicated Servers, Private Cloud & Colocation Thu, 07 Dec 2023 14:39:35 +0000 en-US hourly 1 https://wordpress.org/?v=6.6 What are Domlogs? https://www.hivelocity.net/kb/what-are-domlogs/ https://www.hivelocity.net/kb/what-are-domlogs/#respond Wed, 30 Jan 2013 14:10:01 +0000 https://kb.hivelocity.net/?p=11053 Domlogs are the domain logs which are generated for requests made to a domain. Web statistics use these logs. Typically, information in domlogs includes data on IP addresses, the identities of requesters, date and timezone information, file size, and more. If the domlogs are removed, you will be unable to view the stats for that …

What are Domlogs? Read More »

The post What are Domlogs? appeared first on Hivelocity Hosting.

]]>
Domlogs are the domain logs which are generated for requests made to a domain. Web statistics use these logs. Typically, information in domlogs includes data on IP addresses, the identities of requesters, date and timezone information, file size, and more.

If the domlogs are removed, you will be unable to view the stats for that specific domain. However, the stats will be updated the next coming day, and you will be able to view these newly generated stats, just not the old ones as those have been deleted.

If your domlogs are consuming too much space, you can try deleting older files (those from past a few weeks or months ago), which will allow you to free up some extra space.

 

Popular Links

Looking for more information on domlogs? Search our Knowledge Base!

Interested in more articles about Statistics? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: Netstat, MRTG, AWStats, Webalizer, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.

 

The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

The post What are Domlogs? appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/what-are-domlogs/feed/ 0
Compress cPanel domlogs https://www.hivelocity.net/kb/how-to-compress-cpanel-domlogs/ https://www.hivelocity.net/kb/how-to-compress-cpanel-domlogs/#respond Sat, 13 Nov 2010 22:20:27 +0000 https://kb.hivelocity.net/?p=1856 Solution Before setting up compression of your logs, you will want to have cpanel run the stats as often as possible. This is so you do not miss any stats that would have been included, were your logs not compressed before stats run. To do this, login to WHM, and click on Tweak Settings under …

Compress cPanel domlogs Read More »

The post Compress cPanel domlogs appeared first on Hivelocity Hosting.

]]>
Solution

Before setting up compression of your logs, you will want to have cpanel run the stats as often
as possible. This is so you do not miss any stats that would have been included, were your
logs not compressed before stats run.

To do this, login to WHM, and click on Tweak Settings under Server Configuration in the left
menu. Scroll down to Stats and Logs, and then in the field next to “Number of days between
processing log files and bandwidth usage (default 1, decimal values are ok):” enter ‘.5’.
This will cause your logs to be run twice a day, and should allow you to have up to date stats.

After doing this, we can begin to setup your domlogs compression. You will need to open an ssh
shell to your server to complete this.

Change directories to /etc/logrotate.d/, and find the file named httpd. You will need to copy this
file to a new file, in the same directory:

< a href=”mailto:root@cpdemo">root@cpdemo [/etc/logrotate.d]# cp httpd domlogs
< a href=”mailto:root@cpdemo">root@cpdemo [/etc/logrotate.d]# ls -la domlogs
-rw-r–r– 1 root root 390 Nov 8 21:26 domlogs
< a href=”mailto:root@cpdemo">root@cpdemo [/etc/logrotate.d]#

Now you will want to edit your new file, to contain the following:

/usr/local/apache/logs/*.com /usr/local/apache/logs/*.org /usr/local/apache/logs/*.net {
missingok
notifempty
size=200M
rotate 2
compress
sharedscripts
postrotate
/bin/kill -HUP `cat /usr/local/apache/logs/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}

Just save your new file, and you are done. Most linux distributions come default with a logrotate cronjob running nightly, that will work with this configuration. Should you need more information about logrotate, or it’s many options, merely view the man page.

 

The post Compress cPanel domlogs appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/how-to-compress-cpanel-domlogs/feed/ 0