inthukha

Well-Known Member
Jul 17, 2013
61
0
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
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
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
 

inthukha

Well-Known Member
Jul 17, 2013
61
0
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.

PHP Strict Standards: Non-static method JError::getErrorHandling() should not be called statically

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


Thanks