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.

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:
    1
    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:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    navigate to /usr/local/apache/domlogs/ & delete the logs manually one-by-one.
     
  3. MikeWarner

    MikeWarner Registered

    Joined:
    Mar 11, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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:
    0
    Trophy Points:
    16
    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.. :)
     
Loading...

Share This Page