You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i will try my best to describe the issue i've got to the best of my abilities, i have an admin js panel running with nest and prisma as it's adaptors, what i want is to see logs when someone switches from say host:3000/admin to host:3000/admin/resources/model, i need to keep a log of the requests and their responses and the body of those requests and responses. i tried my hand at middlewares but i wasn't very successful with that as i was only able to get logs before the login attempt. after that i got nothing when navigating inside the panel itself.
The text was updated successfully, but these errors were encountered:
For API calls you can just create a middleware and it should work. Or you can create a before hook that's added to all resource actions. As for logging frontend navigation you could probably either use GTM, create a custom component which is visible on all routes (i. e. override TopBar component) or you could use a service like LogRocket
i will try my best to describe the issue i've got to the best of my abilities, i have an admin js panel running with nest and prisma as it's adaptors, what i want is to see logs when someone switches from say host:3000/admin to host:3000/admin/resources/model, i need to keep a log of the requests and their responses and the body of those requests and responses. i tried my hand at middlewares but i wasn't very successful with that as i was only able to get logs before the login attempt. after that i got nothing when navigating inside the panel itself.
The text was updated successfully, but these errors were encountered: