Editing Logging

Permalink
Is there any way that I could have any logs that are flagged as, say, "Error", "Critical", "Emergency" either one or any combination, email to me, so I can investigate straight away without the need to logon weekly and 'check'? Or scheduled an email nightly to send all emails with any flags? These are the logs in Reports > Logs

Cheers.
Andy

zapbrannigan1972
 
mnakalay replied on at Permalink Reply
mnakalay
The doc has a few articles about the logger including one showing how to save logs elsewhere. It will show you where to start:https://documentation.concrete5.org/developers/logging/custom-handle...
A3020 replied on at Permalink Reply
A3020
I created a package called Centry a year ago. Among other things it can send logs to a Centry Portal. The portal is a Laravel based application that aggregates information from the connected websites. It allows you to browse through all Log entries, for example. It's nice.

If you want a one-time solution, I'd probably set up an automated task to send Log entries to a certain email address. It's pretty easy make!

You'd also set up Bugsnag, it's a third-party service that collects errors / exceptions. There's an add-on for it in the marketplace. I'm using Bugsnag for a few websites, and I'd recommend it to others.