Jump to content
  • 0

Blesta keeps sending logs by email


Question

Posted

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

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...