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!

How do I delete domlogs?

Discussion in 'General Discussion' started by MikeWarner, Aug 3, 2008.

  1. MikeWarner

    MikeWarner Registered

    Joined:
    Mar 11, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    I have a dedicated server with my one site on.

    Hopefully someone can help here please. I have 11gb of domlogs and need to remove all of them asap as I'm running out of space.

    I have stats turned off in WHM so I'm guessing this has stopped them from being removed daily. Can I stop domlogs from being created all together, or deleted daily? Please help.

    I tried this but it didn't work:
    rm –f /usr/local/apache/domlogs/*

    Oh, this appears to be making backup take much longer too.

    Thanks
     
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    navigate to /usr/local/apache/domlogs/ & delete the logs manually one-by-one.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MikeWarner

    MikeWarner Registered

    Joined:
    Mar 11, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Thanks - I'll give that a try. How about stopping the server from creating them in the first place? I have no interest in creating stats.
     
  4. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi Mike,

    There's no such setting/feature in the WHM/cPanel interface to disable the creation of domlogs.
    But, as a work through, you can remove the respective domlogs entries from the httpd.conf so that they don't get created from that instance.. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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