Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help/Need Idea] Basic audit log - log user info with sql query #68

Open
Bnaya opened this issue Apr 15, 2019 · 0 comments
Open

[Help/Need Idea] Basic audit log - log user info with sql query #68

Bnaya opened this issue Apr 15, 2019 · 0 comments

Comments

@Bnaya
Copy link

Bnaya commented Apr 15, 2019

High level goal:

I want to log all the DB operations with the email of the user that made them. in the same line.

TypeORM can accept a custom logger, but of course, TYPEORM has no concept of request/active user/ what so ever.
I can log the email of the request start. but i have no guarantee that no concurrent sql queries from different request will mix in the log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants