Is there an open source implementation that can record operation logs into the database and reduce the intrusion into the business code? If anyone has such experience, please help and answer. Thank you
The current idea is to build a log table by ourselves, and use decorators to set it up in business operations without invading business code. However, time is tight at the moment, so I want to see if there is anything that has been implemented and learn from it
我想大声告诉你2017-05-18 11:00:17
If your server is deployed with nginx or uwsgi, you can configure the log file. All requests will be in the log file. You can completely analyze the log file for review. Of course, in this case, the user's relevant information will not be recorded. , if you need to review the related operations of logged-in users, it must be embedded into your code