![]() |
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking | Subscribe to our Domains For Sale newsletter |
| | ||||||
| Home | Register | Rules | Membership Upgrade | Domains For Sale | Domain Name Escrow | Mark Forums Read | Domain Classified | Chat Room |
| General Board General discussions. Please check main forum categories before posting here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
![]() | how to switch off error_log in WHM
Does anyone know what service/where to look in order to stop error_log being generated on each of my sites? (or for them to auto delete after a certain time/size limit, is that poss?) The combined size of all my sites error logs are unnecessarily huge ... TIA Fish |
| |
| | #2 (permalink) |
![]() |
I don't think you can control the sizes from WHM. You could look at manually generating some logrotate rules for these error logs. In the PHP configuration (under service config), you can switch into advanced mode and have more control over error handling (even switching off logging completely), however, if you don't log anything then finding future problems will be difficult. What's generating so many errors? First stop in my mind would be to address the processes that are causing the errors and resolve these so you only have genuine errors logged.
__________________ Alex Monaghan - Drop Catch & Drop Lists - PM for details Online Accounting|Pine Furniture|Barbie |
| |
| | #4 (permalink) |
![]() |
__________________ Alex Monaghan - Drop Catch & Drop Lists - PM for details Online Accounting|Pine Furniture|Barbie |
| |
| | #6 (permalink) |
![]() |
Indeed the first step should be to solve the errors but failing that log size rotation can be found in the tweak setting part (provided you are on 11.30 onwards).
__________________ Fov.cc | EvoOwners.co.uk | Forget Debt | xFTP | Jaimee | Linux Book | ESE Pods | Music Quotes Affordable Server Admin - PM me! |
| |
| | #7 (permalink) |
![]() | +1 about checking why it is so large. Deleting - you can set the size limit (as suggested above) or even set a cron job to delete the file every 1 hour or so...
__________________ Car Stereo Systems <> Insulation Materials <> Men's White Jeans <> Discount Laptops ...and many more for sale. Make me an offer ;) |
| |
| | #8 (permalink) |
![]() | I didn't think the WHM log rotate hit the individual domain logs, isn't it just the system logs?
__________________ Alex Monaghan - Drop Catch & Drop Lists - PM for details Online Accounting|Pine Furniture|Barbie |
| |
| | #9 (permalink) |
![]() |
Just checked a few of the sites error logs and there's been none generated today, so whilst this is the culprit: [20-Sep-2011 17:45:56] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0 turning off repeat error logging in PHP Configuration Editor has stopped the files growing hour by hour, day by day but of course not resolved the error repeating itself (however the sites run ok) |
| |
| | #10 (permalink) |
![]() |
You should still address the issue though as it will hurt your performance if the system is having to handle errors on each page load. Happy to take a look tomorrow morning if you want. (you'll need to remind be of the root password)
__________________ Alex Monaghan - Drop Catch & Drop Lists - PM for details Online Accounting|Pine Furniture|Barbie |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Domain Name Community | Replies | Last Post |
| News: What's in a Name? Loudoun County Public Schools to Switch to Shorter ... - Viva | RSS | Domain Name News | 0 | 24-05-2010 08:59:06 PM |
| SWITCH sets up new unit for extra domain name services - Telecompaper | RSS | Domain Name News | 0 | 17-08-2009 07:59:01 PM |
| Switch to lower annual fee for .ch, .li domains by CHF 5 - Telecom Paper (subscriptio | RSS | Domain Name News | 0 | 10-12-2007 08:59:53 AM |
| Switch to lower domain registration fee to CHF 22 - Telecom Paper (subscription) | RSS | Domain Name News | 0 | 05-07-2007 07:00:13 AM |
| Switch to offer secured domain name service - Telecom Paper (subscription) | RSS | Domain Name News | 0 | 14-02-2007 08:59:05 AM |