CodeForAfrica / HealthTools.API

HealthTools API to retrieve, structure and return data being used by the health tools. Accessible at https://api.healthtools.codeforafrica.org/
https://api.healthtools.codeforafrica.org/
MIT License
19 stars 20 forks source link

Add Slack log handler #64

Closed andela-ookoro closed 5 years ago

andela-ookoro commented 6 years ago

What does this PR do?

Add slack log handler to the application.

Description of Task to be completed?

Add SLACK_URL to project setting Add the slack handler to the application's loggers.

How should this be manually tested?

DavidLemayian commented 6 years ago

For easy readability, let's have the message posted to Slack look like New Relic's:

slack1

DavidLemayian commented 6 years ago

Could we switch this out with https://github.com/CodeForAfricaLabs/python-slack-logger ?

DavidLemayian commented 6 years ago

Does this require a requirements.txt update as well?

andela-ookoro commented 6 years ago

Yea, I have updated the PR with the latest package requirements.

andela-ookoro commented 6 years ago

yea, I just reinstall the package now but it did not reflect the changes.