The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Deleting Log files

Discussion in 'General Discussion' started by rajesh_, Aug 28, 2007.

  1. rajesh_

    rajesh_ Active Member

    Joined:
    Oct 9, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    HI,
    I am running out of space in one server which is having high traffic sites. I think space problem because of logs. I want to know how can i delete log files..... I have no idea which are to be deleted. Can you please tell which can be removed and commands to remove.
     
    #1 rajesh_, Aug 28, 2007
    Last edited: Aug 28, 2007
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You may want to go to WHM -> Server Configuration -> Tweak Settings and check out the "Stats and Logs" section of the page. Uncheck "Keep log files at the end of the month (default is off as you can run out of disk space quickly)" and set those settings as you deem appropriate to conserve disk space for logs.

    However, you may want to verify that a lack of disk space is due to logs before taking more abrupt actions.
     
Loading...

Share This Page