CodeForAfrica / CodeForAfrica/HealthTools.API

Log significant info using Python logging module

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
19
Forks
20
PR merge metrics
No merged PRs in 30d

Description

We would like to log significant events using Python's logging module and eventually send specific notifications to Slack. For our purposes we want to log:

1. When the doc_type isn't understood so that:
- Dev team can add keyword if it is appropriate.
- Could be a question instead or a tip-off for newsroom to follow up with.
2. When an error occurs e.g ElasticSearch is down or the nurses website is down.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.