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.

Error log file size limit

Discussion in 'EasyApache' started by inthukha, Aug 5, 2013.

  1. inthukha

    inthukha Well-Known Member

    Joined:
    Jul 17, 2013
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    my one website keep generate error logs and its size day by day increasing to 200mb. in 1 week its 900MB. is there anyway to control the size of error_logs for all cpanel users / clients ?

    Thanks
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You might find these docs helpful:
    How to: Clean log files before enabling log rotation - cPanel Documentation
    cPanel Log Rotation Configuration - cPanel Documentation

    Creating error pages and adding a favicon to all sites that don't have them can be a big help in keeping logs smaller. That, and fixing the actually errors of course.

    You can add error pages, favicon and many other useful files to every new account created by adding them to root, or Resellers Skeleton directory. More on that, here:
    Skeleton Directory - cPanel Documentation
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Are you getting any particular error in your error_log file ? May be any php modules setup
     
  4. inthukha

    inthukha Well-Known Member

    Joined:
    Jul 17, 2013
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    @Infopro, actually i m asking about cPanel website error_log, not root level. i didn't have problem in any service logs nor favicon. the problem is 3rd party script keep product error and every error log save in file in every hit. so how can i stop this ?



    @24x7server, Yes, the error is related with joomla module which is old and not supported the 5.4.17-PHP.

    below are following error detail that make the error_log file in GBs within few days.


    is there anyway to mot log this error for specific cpanel account ? or website ? i mean bypass this errors ?


    Thanks
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Searching for that error I find lots of posts about it. Try this one:
    /http://forum.joomla.org/viewtopic.php?p=2556146#p2556146
     
Loading...

Share This Page