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 to set access-logs files from /usr/local/apache/domlogs to be daily archived

Discussion in 'EasyApache' started by nicolass, Dec 10, 2013.

  1. nicolass

    nicolass Member

    Joined:
    Jan 22, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Website Owner
    Hi,
    can you please tell me hot to set access log files to be daily archived.

    I have access-logs in:

    /usr/local/apache/domlogs/WEBSITENAME/websitename.com


    And I see that this access log keep log only for one day. How can I set that log files can be archived every day?

    I look in /etc/logrotate.d and I dont see there file with name "apache".

    How I can set this via cPanel or via shell, no matter
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    in cPanel-> Logs-> Raw Access Log:
    "Archive logs in your home directory at the end of each stats run[ [every 24 hour(s)~]] "
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,903
    Likes Received:
    1,814
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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