CodeForAfrica / CodeForAfrica/HealthTools.API
Log significant info using Python logging module
未关闭
enhancement
help wanted
- 主要语言
- Python
- 星标
- 19
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
调研方向
未指定任何文件、测试或入口点。定位对无法识别的 doc_type 值的处理,以及 Elasticsearch 或 nurses 网站的错误路径,然后确定 Python logging 应如何记录这些事件;当每个指定事件都生成适当的日志记录时,工作即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend, observability-sre
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100