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.

Recommended Apache Log Rotation Configuration

Discussion in 'EasyApache' started by ES - George, Aug 30, 2011.

  1. ES - George

    ES - George Well-Known Member
    PartnerNOC

    Joined:
    Jun 12, 2011
    Messages:
    142
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi,

    I was just curious about any options that people think can be safely unchecked or don't need to be rotated (if any)? Currently, all the options are selected to be rotated, options are:

    access_log (in rotation)
    error_log (in rotation)
    modsec_debug_log (in rotation)
    suexec_log (in rotation)
    suexec_log.offset (in rotation)
    suphp_log (in rotation)

    Thanks.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You might want to keep the access_log or at least archive it. That log will tell you cPanel and WHM accesses and can be helpful if you need to know who terminated or modified something.

    That's if this is the cPanel access_log. If it is just the Apache one, then the Apache access_log isn't really needed, since it doesn't log most details any longer. Those log to the individual user domlogs instead.
     
  3. ES - George

    ES - George Well-Known Member
    PartnerNOC

    Joined:
    Jun 12, 2011
    Messages:
    142
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    I found it in Service Configuration --> cPanel Log Rotation.

    I'll keep access_log then, what about the others?

    Thanks for your support. :)
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    I would keep the others in rotation.
     
Loading...

Share This Page