312erik123 Posted February 5 Posted February 5 Hello, Just noticed that the error_log file in my production site has become huge (14 GB). What can cause it to balloon that much? Is it safe to delete it? Thanks Erik
0 the.rampage.rado Posted February 6 Posted February 6 You will find some interesting things inside (if you have enough ram and notepad++) 😄 Download it, delete it from the server and wait couple of days, then open the new error_log and see what is pumping lines. Also a useful module to see those (and many more) in backoffice is "Collect PHP Logs" module. You can find it your list, install and keep it installed. I bet you switched php versions recently (or your hosting did and you don't know about it).
0 312erik123 Posted February 7 Author Posted February 7 @the.rampage.rado Many thanks for your tips. My site was under a SPAM-attack for a couple of days. With that taken care of the newly generated file is not growing in size the same way. Also found a few bugs in my code with the "Collect PHP Logs" module. Now it's mostly the litespeed module that generates "Deprecated" messages...maybe I'll send them an email and see if they want to update the module.
0 the.rampage.rado Posted February 8 Posted February 8 Regarding the listespeed module check here: https://github.com/litespeedtech/lscache_prestashop/issues/57 With those fixes those deprecations are no more but there are 2 more errors under php8 for me.
0 312erik123 Posted February 11 Author Posted February 11 (edited) The exact same as me. I’ve sent them an email and they replied that a dev would look at it. Which I guess is far from a promise. I also get this error occasionally: Error: Call to a member function getParam() on string modules/litespeedcache/controllers/front/esi.php line 94 which I also sent to them. But I see that you’ve already made a bug report on their GitHub about it! Edited February 11 by 312erik123
0 the.rampage.rado Posted February 11 Posted February 11 Yes, they invest time and developers in the Wordpress module as it makes them money, the one of PS/thirtybees is far far less popular unfortunately and we have to deal with that. 🙂
0 312erik123 Posted February 14 Author Posted February 14 Yeah I guess. I’m experiencing some weird issues with module, so I had to disable it. For example when using Safari, if I press the add to cart button on a product page, I’m redirected to the cart, but the cart is empty…have you had similar issues?
0 the.rampage.rado Posted February 14 Posted February 14 Nope, it's working for me. Here's my setup. Try playing with guest mode. I had some issues with it but not related to the cart. Here you probably have not touched anything but:
Question
312erik123
Hello,
Just noticed that the error_log file in my production site has become huge (14 GB). What can cause it to balloon that much? Is it safe to delete it?
Thanks
Erik
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now