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.

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
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    197
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  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
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    197
    Trophy Points:
    63
    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.
     
Loading...

Share This Page