sergant210 / controlErrorLog

Adds the ability to control the MODX Revo error log and view it in a popup window.
MIT License
14 stars 6 forks source link

Question about controlerrorlog notifications #22

Open valokammi opened 4 years ago

valokammi commented 4 years ago

I`m little bit confused about system settings to CEL. I setup cronjob to it and Email is configured cron job too.

Now what system setting should be enabled or disabled so CEL will work. I have email set up too in CEL system settings.

It works when controlerrorlog.control_frontend is set to YES, but manual does not recommend that.

Now I have controlerrorlog.control_frontend set to NO. Should it work too by Cron jobs and should I keep email in system settings too?

Sorry that I can not produce any errors to my sites and they are very rare anyway to tell does my new settings work ;) But I want to know what are best and safest way to set up notifications.

sergant210 commented 4 years ago

You can use the default script core/components/controlerrorlog/cron/checkerrorlog.php or extend it as you need.

controlerrorlog.control_frontend is not used in the default script for Cron job. But you can use it in the extended script.

should I keep email in system settings

Sure.