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!

Clearing old logs from /usr/local/apache/domlogs ?

Discussion in 'EasyApache' started by jols, Dec 14, 2010.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    3
    Trophy Points:
    168
    On most of our cPanel servers, we've got very old log files lingering for accounts that have long been removed, in this directory:

    /usr/local/apache/domlogs

    Is there a way to have cPanel rotate these out? Or is there a handy script to use that will achieve the same effect?

    Thanks much.
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    407
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Make sure that stats is configured to run on your server(Main >> Server Configuration >> Statistics Software Configuration), if you configure this it will rotate the log files after updating the stats for each domain.

    If its already done, check log files for any errors.

    Thank you.
     
    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