bobbylite / bobbylite/service-template

Add structured logging config

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

core/logging.py is referenced as a stub for structured logging setup (configure_logging()). Flesh out real structured logging (e.g. JSON logs, log levels via settings).

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by reading core/logging.py to understand the current stub. Examine the project's settings to see how log levels are configured. Research Python's logging module and libraries like python-json-logger for structured JSON output. Implement configure_logging() to integrate these, ensuring logs are properly formatted and levels are controlled via settings. Test by running the service and verifying log output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
fastapi, python
Lĩnh vực
backend, observability, tooling
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.