interledger / rafiki

An open-source, comprehensive Interledger service for wallet providers, enabling them to provide Interledger functionality to their users.
https://rafiki.dev/
Apache License 2.0
226 stars 77 forks source link

Investigate Shared Logger Package #2707

Closed BlairCurrey closed 1 month ago

BlairCurrey commented 1 month ago

Look into creating a shared logging package with to be used across our packages. May include graphql logging plugin and similar (if any). Is there a value-add there?

BlairCurrey commented 1 month ago

Results:

There is practically no configuration for all of our pino loggers. Basically just the level. In light of that I don't really see any value-add for making a shared logger. If in the future we ever say "ensure all of our loggers are configured in [X] way" then it would probably be a good idea to make them shared then.

However, while investigating I found a (practically) unused Logger in backend and auth. I figure I might as well address that here.