LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] domlog

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2011, 05:36 PM
stairmaster stairmaster is offline
Member
 
Join Date: Mar 2011
Posts: 22
Default [solved] domlog

Hi,
I am having problems with our domlog filling up our disk.

The domlog for our largest domain on our server is producing 2Gb domlog files each day.
After a few days our server is reaching maximum disk capacity due to these files. I have to manually delete them every couple days.

I don't know where to set the domlog rotation details.

In litespeed admin > server > log > keep days
I have set it to 1, so that it only keeps one day.

And then I restarted litespeed. But that didn't make any difference.

Is there somewhere else I need to change this? We are running WHM/cpanel too.

Last edited by NiteWave; 10-16-2011 at 05:55 PM..
Reply With Quote
  #2  
Old 10-13-2011, 07:38 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,220
since your are running WHM/cpanel, apache's httpd.conf is read and parsed.
Quote:
In litespeed admin > server > log > keep days
won't work in this case.

please google "apache log rotation" for solution, and I believe cPanel has good solution for it.
Reply With Quote
  #3  
Old 10-16-2011, 03:41 PM
stairmaster stairmaster is offline
Member
 
Join Date: Mar 2011
Posts: 22
Thanks, I have turned off all stats programs in WHM (cpanel) - that seems to have stopped the domlogs from getting bigger.
Reply With Quote
  #4  
Old 10-17-2011, 09:04 PM
stairmaster stairmaster is offline
Member
 
Join Date: Mar 2011
Posts: 22
In httpd.conf I commented out the lines that wrote the domlogs.
I then restarted apache and litespeed to see if httpd.conf would get overwritten but it didn't. And the domlogs aren't being written to.
Reply With Quote
  #5  
Old 10-18-2011, 11:06 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You'd better changing cPanel's vhost template, otherwise, cPanel may overwrite the change when need to regenerate httpd.conf.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:53 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.