Skip to content

Add log adapter that sends a message to Slack #7

@PhantomWatson

Description

@PhantomWatson

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions