Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    9

    Default Change log rotation to < 300MB file size?

    I see that WHM now has configurations for rotating cpanel and apache logs. Great! But why does it only rotate log files that reach > 300MB??? That is a ridiculously-large size! Can't that value be changed?
    Last edited by volcanohost; 01-15-2009 at 03:01 PM.

  2. #2
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    don't know why, but on one of my server its not even rotating at 500MB
    Learn atleast A word Daily

    7+1 Dedicated Boxes with cPanel...

  3. #3
    Member
    Join Date
    Apr 2005
    Posts
    9

    Default

    So has anybody figured out how to change the 300MB file size to something lower?

  4. #4
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    today again log rotate failed and httpd was failing with core dump warning as error_log was 2GB+

    doesn't it need to get in rotation before going this big, also the log rotation is duly enabled from whm.
    Learn atleast A word Daily

    7+1 Dedicated Boxes with cPanel...

  5. #5
    Member
    Join Date
    Apr 2005
    Posts
    9

    Default

    Quote Originally Posted by mohit View Post
    today again log rotate failed and httpd was failing with core dump warning as error_log was 2GB+

    doesn't it need to get in rotation before going this big, also the log rotation is duly enabled from whm.
    This forum is totally useless. Come on people, doesn't anyone know where you can edit this friggin' 300MB value??? Do you know how cumbersome it is to try to download a 300MB file to search for some hacker's IP address? THESE FILES NEED TO BE A MANAGEABLE SIZE!!!

  6. #6
    ckh
    ckh is online now
    Member
    Join Date
    Dec 2003
    Posts
    319

  7. #7
    Member
    Join Date
    Apr 2005
    Posts
    9

    Default

    Yeah, I had all that set up pre-WHM 11.24. After the 11.24 update, it stopped working. The changelog said WHM now handles the log rotation, but it is for a fixed 300MB file size. Which is why I have been asking if anyone knows how to change that 300MB file size. Guess not.

  8. #8
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    In version 11.25.1, this can be adjusted in tweak settings. 300 MB is the default setting, but you can change it as you desire.

  9. #9
    Member
    Join Date
    Apr 2005
    Posts
    9

    Default

    Quote Originally Posted by cPanelDavidG View Post
    In version 11.25.1, this can be adjusted in tweak settings. 300 MB is the default setting, but you can change it as you desire.
    Thanks! They sneaked that setting in since the last time I searched for this answer. Much obliged!

  10. #10
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,172
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Important cPanel/WHM Version Number Designation Change

    Please Note: Important cPanel/WHM Version Number Designation Change

    As of July 28, 2010 the cPanel/WHM version number designations have been officially changed.

    Version 11.25.1 is now designated 11.28 and version 11.25.2 is now designated 11.30.

    These new changes were explained in some detail recently at the July 2010 - Quarterly Road map - Webinar direct from cPanel's PodCast Studio in Houston, Texas with speakers David Grega and Mario Rodriguez.

    An official press release about these changes is forthcoming and can be accessed at this link as soon as it's made available to the Forum Team:
    Important cPanel/WHM Version Number Designation Change (To be updated)

    This post serves to update users who are subscribed to threads (where this message is posted) looking forward to upcoming enhancements in future versions of cPanel.

Similar Threads & Tags
Similar threads

  1. Log size, location and rotation
    By webstyler in forum Enkompass Discussions
    Replies: 1
    Last Post: 11-26-2011, 06:10 AM
  2. Option for cPanel Log Rotation based on Dates, not File Sizes
    By DomineauX in forum Feature Requests for cPanel/WHM
    Replies: 5
    Last Post: 07-30-2010, 03:26 PM
  3. Domain log file rotation
    By hostsale in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-05-2010, 08:17 PM
  4. How to change the log rotation time of specific domain?
    By ptez in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-27-2004, 12:39 PM
  5. log file rotation?
    By ameen in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-08-2004, 03:41 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube