nestjsx / crud

NestJs CRUD for RESTful APIs
https://github.com/nestjsx/crud/wiki
MIT License
4.09k stars 539 forks source link

CRUD queries logging #632

Open herenickname opened 3 years ago

herenickname commented 3 years ago

We using nestjsx/crud for admin module. I want to save logs of update/delete queries to check which actions do our admins. How can I do this?

miyu4u commented 3 years ago

this it help to you

https://github.com/typeorm/typeorm/blob/master/docs/logging.md

herenickname commented 3 years ago

this it help to you

https://github.com/typeorm/typeorm/blob/master/docs/logging.md

I want to log only part of queries which goes through nest-crud, Idk how to do my case.