Closed anirudhprabhakaran3 closed 1 year ago
Logs on the backend look proper, logs on the frontend are a bit weird.
I think SvelteKit does some optimizations wherein if a page is loaded once and you nav away from it and nav back (without browser reload), it doesn't log any subsequent attempts to load the older pages (probably because it has rendered the page once already and just has to alter something locally).
This seems to be the case for both Winston and nginx. To replicate:
Try this out and see if you're facing the same error? If that is the case, we'll have to further explore how to accurately gather logs from the frontend.
Closing this specific issue since no longer supported, but will note these points when we add logging.
Description
Adds logging of all requests to NGINX, frontend and backend.
Dependencies
For frontend, the package
winston
is used for logging requests.Type of Change
What types of changes does your code introduce? Put an
x
in the boxes that applyHow Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration. (for bug fix / breaking change) Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.