Add a log adapter that invokes all of the usual methods of CakePHP's FileLog but also sends a message to Slack, in either the #webdev channel or a new #errors channel. Configure this to only capture critical, alert, and emergency log entries (as 'error' level entries appear to include bot-triggerable things like 404 errors).
Conditions that should get Slack messages:
- The CRI map encounters a location name that the Google Maps API can't translate into GPS coordinates
Add a log adapter that invokes all of the usual methods of CakePHP's
FileLogbut also sends a message to Slack, in either the #webdev channel or a new #errors channel. Configure this to only capture critical, alert, and emergency log entries (as 'error' level entries appear to include bot-triggerable things like 404 errors).Conditions that should get Slack messages: