2020-04-07, 03:48 PM
Dear all,
I manage a MyBB with over 1.4 million posts and the site has heavy traffic. I have APC enabled for caching, but some of the cache functions don't work (i.e. $smilescache) as in they are null value. This causes errors when being fed into PHP's functions and constructs thereby filling up the mybb_errors.log file. When this file grows to 10s of GBs it eventually crashes the entire VM because there is no more disk space for the database. The temporary solution has been to use logrotate and trim down the file size but I need a real fix. Is there a way to completely disable mybb error logging? The problem is when an error gets logged, it logs entire pages since the code variables are dumped.
Thanks!
I manage a MyBB with over 1.4 million posts and the site has heavy traffic. I have APC enabled for caching, but some of the cache functions don't work (i.e. $smilescache) as in they are null value. This causes errors when being fed into PHP's functions and constructs thereby filling up the mybb_errors.log file. When this file grows to 10s of GBs it eventually crashes the entire VM because there is no more disk space for the database. The temporary solution has been to use logrotate and trim down the file size but I need a real fix. Is there a way to completely disable mybb error logging? The problem is when an error gets logged, it logs entire pages since the code variables are dumped.
Thanks!