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!

Daily Log Rotations

Discussion in 'Workarounds and Optimization' started by cgimickalo, Sep 21, 2013.

  1. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    Hello,

    We recently switched our dedicated servers and was going through this morning to do some final fine tuning. The server has been up now of 2 days. I noticed that none of our log files in the /var/log/* and /usr/apache/logs/* have been rotated and becoming quite large. I checked the cron log file and it indicates that the cron.daily is being executed and calls up the logrotation in the cron.daily folder but none of the logs are being compressed or rotated. I checked and the logrotation.conf is there & related files but haven't figured out why they are not being rotated yet. I know you can control the Cpanel logs in the WHM but as far as I know this has no control over the other log rotations unless I'm missing something.

    Any help or suggestions appreciated.

    Thanks,
    Mike
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,170
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    Ok thanks for the info, disc space isn't the issue though.

    Mike
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,170
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Understood. It's a top level link to the log rotation docs.

    cPanel Log Rotation Configuration - cPanel Documentation


    Not sure if that's helpful or not.
     
    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