hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Logrotate on BurstNet servers (possibly others)
Reply

Forum Jump

Logrotate on BurstNet servers (possibly others)

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Junior Guru
 
Join Date: Nov 2002
Location: Tallahassee, FL
Posts: 177

Logrotate on BurstNet servers (possibly others)


Since I got my servers from BurstNet/Nocster, I have had problems with one of them having the Apache domain logs running away constantly. I have had to manually go in and delete those files when they would start pushing the /usr volume up over 85 percent. I have to do this about every month.

So I looked into the logrotate program and found that although it does take care of many of the other scripts on the server, for some reason the domain logs were excluded.

What needs to be done is to merely add a file containing this script into the directory /etc/logrotate.d:

/usr/local/apache/domlogs/*.com /usr/local/apache/domlogs/*.com-bytes_log {
daily
rotate 5
compress
}

And that does it.

If you have a server with high traffic, you may want to check that domlogs directory to see if the files are being rotated out.

Rich Z.



Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host BurstNET Acquired by DigiPLUS Web Hosting News 2014-05-01 08:33:48
BurstNET Sued for Not Making Equipment Lease Payments: Court Documents Web Hosting News 2014-05-01 08:34:05
BurstNET Informs Colocation Customers of Higher Prices, Location Change Web Hosting News 2014-05-01 08:34:05
Web Hosting Sales and Promos Roundup - November 1, 2013 Web Hosting News 2014-05-23 15:42:41
Web Host BurstNET Completing Scranton, PA Flagship Data Center Web Hosting News 2012-11-23 14:57:51


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?