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!

Rotation size of user logs

Discussion in 'General Discussion' started by schoeps, Feb 28, 2019.

  1. schoeps

    schoeps Well-Known Member

    Joined:
    Sep 22, 2004
    Messages:
    65
    Likes Received:
    7
    Trophy Points:
    158
    Is there a way to set the rotation size of logs in the users /logs directory? We're migrating to PHP7 and they are going out of control for some users...

    Thanks very much in advance!!!
     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,337
    Likes Received:
    139
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    In the users cPanel area, select the option for Raw Logs and you can set it to remove the previous month's logs each month.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. schoeps

    schoeps Well-Known Member

    Joined:
    Sep 22, 2004
    Messages:
    65
    Likes Received:
    7
    Trophy Points:
    158
    Thanks for this.... is there a global setting?
     
  4. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,337
    Likes Received:
    139
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    The user default setting for this is in Tweak Settings in WHM:

    Remove the previous month's archived logs from the user's home directory at the end of each month unless configured by the user. [?]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    46,968
    Likes Received:
    2,119
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @schoeps,

    Can you verify which specific log files are taking up the space (e.g. is it the PHP error logs enabled as part of PHP-FPM)?

    Thank you.
     
    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