Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

RAW access delete

Discussion in 'General Discussion' started by bihweb, Apr 26, 2004.

  1. bihweb

    bihweb Member

    Dec 20, 2003
    Likes Received:
    Trophy Points:
    ok people. Tell me how do I delete log files couse they have grown really big. While logged in to cpanel i can DOWNLOAD log files from varoius account or from WHM for the main one. Since they are very very large I need to get rid of them... Tell me where are they placed, is it safe to delete them and how can i prevent this from ahppening again...
  2. PWSowner

    PWSowner Well-Known Member

    Nov 10, 2001
    Likes Received:
    Trophy Points:
    ON, Canada
    The website log files are usually in /usr/local/apache/domlogs/. There are a few files associated with each account and there are various ways to empty them. Depending on how you do it, you may need to restart apache or else new log files won't be created.

    Emptying log files is one of my WHM scripts that I hope I will have ready to be made public soon.

    In WHM "Tweak Settings" you can cut down on the sizes by making sure the box for "Keep log files at the end of the month" is unchecked.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice