Skip to content

Add log adapter that sends a message to Slack #7

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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