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 often are apache logs deleted by CPanel?

Discussion in 'EasyApache' started by albatroz, Sep 2, 2012.

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I have the impression that everyday (well everynight) after awstats excutes its tasks
    the Apache log files of each website are deleted. Am I right?
    I ask because I need to track the defacement of a website and it seems like my R1Soft backup
    rules are not including the backup of the log files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pwhjenny

    pwhjenny Well-Known Member

    Joined:
    Aug 31, 2012
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    91
    cPanel Access Level:
    Root Administrator
    You can decide it yourself. Generally cPanel does not delete logs instead it archives them and save. You can rotate the logs according to your needs.

    cPanel Log Rotation Configuration
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    21
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If Delete each domain’s access logs after stats run, in Main >> Server Configuration >> Tweak Settings, is On, then the domains' logs, in /usr/local/apache/domlogs, are deleted after each stats run. The default for this setting is On.

    The log rotation configuration mentioned by pwhjenny is for the cPanel logs, not the domains' Apache logs. They are totally separate, not related.
     
    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