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!

Save access_log for a long time

Discussion in 'Data Protection' started by _El_Chojin_, May 22, 2009.

  1. _El_Chojin_

    _El_Chojin_ Member

    Joined:
    May 22, 2009
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    51
    Hi:
    I need to save logs (access_log) for a long time(1year) because on my country is needed by law.

    I have set on WHM => Apache configuration => Log rotation i have clicked to rotate access_log.

    I dont have any statistics system active, do you know if this configuration will make what i need?


    Thanks.
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    400
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    For a custom solution you may be better off using logrotate and configure it according to the time/size you want it to keep.
     
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