Gemeente-DenHaag / mijngemeente-gateway

Public proxy gateway for the OpenZaak API.
Other
1 stars 0 forks source link

Establishing logging strategy #34

Closed bddjong closed 3 years ago

bddjong commented 3 years ago

A logging strategy should be defined for the gateway

Details

We should implement a robust logging system to increase observability of the application, and assist with tracking down bugs or other issues. At the very least, we should be able to log requests made to the gateway. It could be beneficial to research best practices for logging. It might be desired to have different logging levels, which depend on whether or not the application is running in production or in a development environment.

As logs can sometimes contain highly sensitive and personal data we should have a clear view on what information can and cannot be logged. Furthermore, a strategy on how to access the logs (and who has access to them) should be made.

Acceptance criteria

bddjong commented 3 years ago

Possibly obsolete if a reference architecture will be developed. The scope of our gateway would in that case be reduced to purely serving the PWA, instead of being reusable and scalable.

mjcarsjens commented 3 years ago

@bddjong This issue can indeed be removed. For now we will simply work with our very low-level gateway, adding any functionality which we do not necessarily need for our PWA to work is simply said a waste of time and resources.