Store Django Log messages in a database?

后端 未结 4 518
無奈伤痛
無奈伤痛 2021-02-05 11:51

Django (the python web framework) uses python\'s logging system to store logs.

Is there an easy way to store log messages in a database, and then allow admin users to lo

4条回答
  •  我寻月下人不归
    2021-02-05 12:24

    Just use Sentry. Raven, the Django piece of the functionality hooks into the logging framework, so in addition to collecting errors from your app, any custom log messages should show up as well.

提交回复
热议问题