CodeForAfrica / CodeForAfrica/HealthTools.API

Log significant info using Python logging module

Offen
#52 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement help wanted
Vorherrschende Sprache
Python
Sterne
19
Forks
20
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.