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.

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:
    2
    Trophy Points:
    38
    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:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page