anonlink-entity-service
anonlink-entity-service copied to clipboard
Centralised logging
Lots of options: ElasticSearch, PostGresQL, AWS Cloud Watch...
Would be nice to support the same as N1-Engine which suggests logging to postgresql.
This logging should be configurable too. Ideally we can trace everything related to a particular project. and see all auth
related logs etc.
After #238
See https://docs.protari.d61.io/dev/setting-up/logging/#example-logging
In particular the header extraction configuration:
If the settings include log_attributes or log_headers, these will also be present, eg.
INFO:protari.api.request:{"op": "dataset", "attributes": {"remote_addr": "127.0.0.1"}, "dataset": "sample"}