furioussnail Posted December 10, 2018 Report Posted December 10, 2018 At some point I started receiving all the Blesta logs by email. I am using the latest version. Any idea where the problem might be? Also, isn't Blesta logging a bit too much? For one day I have hundreds of log pages (Tools -> Logs -> Cron). Thank you. Quote
0 furioussnail Posted December 10, 2018 Author Report Posted December 10, 2018 I added 2>&1. I will wait to see if that helps. However, the question about the amount of recorded logs is still standing. That output to the database is a bit much in my view. Thank you. Quote
0 Paul Posted December 10, 2018 Report Posted December 10, 2018 It should look like this .../index.php cron > /dev/null 2>&1 Obviously I removed the first portion of the cron that includes your path to PHP and the path to index.php as it'll be different. Quote
0 furioussnail Posted December 11, 2018 Author Report Posted December 11, 2018 Yes, that helped. My question regarding the amount of logs saved to the database still stands. Aren't they a bit too much? Thank you. Quote
0 Paul Posted December 11, 2018 Report Posted December 11, 2018 If you think it's too much, you can adjust your rotation policy under Settings > System > General > Basic Setup: Rotation Policy. The default is 30 days, but you can reduce this if you want. The mail log isn't included in the rotation policy, but is safe to clear out if you want to. The cron log has tasks in it that should not be manually cleared out though, so you'll want the rotation policy to handle it. Quote
0 furioussnail Posted December 12, 2018 Author Report Posted December 12, 2018 Probably I didn't explain the issue properly. In my opinion a bit to many actions are being logged to the database. Once the customer base grows this impacts performance. Maybe allowing the admins to choose which actions are being logged would be a viable solution. Thank you. Quote
Question
furioussnail
At some point I started receiving all the Blesta logs by email. I am using the latest version. Any idea where the problem might be? Also, isn't Blesta logging a bit too much? For one day I have hundreds of log pages (Tools -> Logs -> Cron).
Thank you.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.