This repository was archived by the owner on Jul 23, 2020. It is now read-only.
This repository was archived by the owner on Jul 23, 2020. It is now read-only.
POC - Handling API Logic for logging of UI Incidents #998
Closed
Description
Description
This sub task will store the information received from the UI layer in regards to error logging and store in some space.
Why
This could, in a way, help us identify the issues if any from the frontend that are gone unnoticed.
How
As we get the model from the UI layer, to begin with we can store that in a flat file just to track the progress and eventually move it to S3 buckets for better usage.
- Create an exposable API [Get and Post methods]
- Write to file the model that is received
- If things are so far great, write to S3 buckets.
- Also, provide a mechanism to read the written logs regardless of where it is stored. [ GET call ]