anonlink-entity-service icon indicating copy to clipboard operation
anonlink-entity-service copied to clipboard

Centralised logging

Open hardbyte opened this issue 6 years ago • 3 comments

Lots of options: ElasticSearch, PostGresQL, AWS Cloud Watch...

Would be nice to support the same as N1-Engine which suggests logging to postgresql.

hardbyte avatar Aug 17 '17 07:08 hardbyte

This logging should be configurable too. Ideally we can trace everything related to a particular project. and see all auth related logs etc.

hardbyte avatar Apr 20 '18 01:04 hardbyte

After #238

hardbyte avatar Jul 24 '18 09:07 hardbyte

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"}

hardbyte avatar Jan 30 '19 05:01 hardbyte