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!

delete apache logs

Discussion in 'EasyApache' started by sawan3, Jan 27, 2006.

  1. sawan3

    sawan3 Member

    Joined:
    Jan 17, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Hi
    Can someone please tell me how to delete the apache logs and all the other logs on the server.

    Thanks.
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    Check my "Scripts Club" link below for my "Empty Log Files" script.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sawan3

    sawan3 Member

    Joined:
    Jan 17, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Thanks, but it says to specify the paths to the log files, i do not know this, can you please tell me.
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    The default ones in the script are usually the right ones. If not, you could use locate in shell to find them.
     
    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