digdir / dialogporten

Dialogporten - common API and and metadata state store for digital dialogs
https://docs.altinn.studio/dialogporten
MIT License
1 stars 3 forks source link

Use pino or other logger to add structured logs #1053

Closed arealmaas closed 2 months ago

arealmaas commented 3 months ago

A POC was made a while ago: https://github.com/digdir/dialogporten-frontend/pull/362

Should be able to take inspiration from that and implement in a new pull request

### Tasks
- [x] Add logger in monorepo
- [x] use the logger in BFF
- [x] Publish as an npm package for others to use
- [x] Use the logger in fastify
arealmaas commented 3 months ago

use the logger in fastify as well https://fastify.dev/docs/v2.15.x/Documentation/Logging/