ClinGen / stanford-affils

Stanford ClinGen's affiliations service
MIT License
0 stars 0 forks source link

Add logging to different functionality/Audit trail. #92

Closed sanchegm closed 1 month ago

sanchegm commented 4 months ago
sanchegm commented 3 months ago

Found this admin logs installation: https://pypi.org/project/django-admin-logs/ to answer the first need of logging.

For the API, here is an option: https://pypi.org/project/drf-api-logger/ . Seems like it would answer the questions we have.

Need to add loggers for warning, error, and critical information.

sanchegm commented 3 months ago

Liam advised me to follow: https://testing.googleblog.com/2013/06/optimal-logging.html