pdf-quiz-generator/backend/app
Daniel d0518d0737 Add comprehensive structured logging with Loki + Grafana
Backend logging:
- Centralized JSON logging config with LOG_LEVEL env var
- Request logging middleware: user, method, path, status, duration, request_id
- Fixed all 9 silent except:pass blocks to log warnings with tracebacks
- Celery workers use same structured JSON format

Infrastructure:
- Loki 3.3.2 for log storage (30-day retention)
- Promtail 3.3.2 for Docker container log shipping
- Grafana 10.3.1 with auto-provisioned Loki datasource
- Grafana on port 3002 (admin/pedshub_grafana)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 02:53:54 +02:00
..
middleware Add comprehensive structured logging with Loki + Grafana 2026-04-11 02:53:54 +02:00
models Decouple course quizzes, replace passlib, add security hardening 2026-04-06 21:31:05 +02:00
routers Add comprehensive structured logging with Loki + Grafana 2026-04-11 02:53:54 +02:00
schemas Decouple course quizzes, replace passlib, add security hardening 2026-04-06 21:31:05 +02:00
services Add certificate generation, SCORM support, QTI export/import 2026-04-11 01:30:09 +02:00
tasks Add comprehensive structured logging with Loki + Grafana 2026-04-11 02:53:54 +02:00
utils Add OIDC/SSO login, reminder fixes, user notification settings 2026-04-10 04:10:15 +02:00
__init__.py Initial commit: PDF Quiz Generator app 2026-03-30 20:04:53 +00:00
cli.py Fix CLI argument handling for all commands 2026-04-08 20:57:58 +02:00
config.py Add comprehensive structured logging with Loki + Grafana 2026-04-11 02:53:54 +02:00
database.py Tag filtering, multi-category, bug fixes, image validation, docs 2026-04-04 22:48:26 +02:00
logging_config.py Add comprehensive structured logging with Loki + Grafana 2026-04-11 02:53:54 +02:00
main.py Add comprehensive structured logging with Loki + Grafana 2026-04-11 02:53:54 +02:00