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.

Are the cPanel logs ever cleared automatically?

Discussion in 'Security' started by nanobug, Jan 4, 2012.

  1. nanobug

    nanobug Registered

    Joined:
    Jan 4, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    The logs stored in /usr/local/cpanel/logs

    Are those ever cleared by cPanel automatically? If so, on what basis, weekly, monthly, etc?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, these logs are rotated per the configuration in "WHM >> Service Configuration >> cPanel Log Rotation Configuration".

    These log files are only rotated when they grow larger than the "WHM >> Tweak Settings >> Log Rotation Size Threshold" or the default of 300MB.

    Thank you.
     
Loading...

Share This Page