django日志自动写入mysql插件

时间:2021-12-02 09:26:52
【文件属性】:
文件名称:django日志自动写入mysql插件
文件大小:3KB
文件格式:GZ
更新时间:2021-12-02 09:26:52
python django handler 下载后通过pip安装,在django项目settings的installed app中注册,在logging中class设置为handlers.handlers.DatabaseHandler,配置数据库host、user、password、db即可。django日志即自动写入配置的数据库中。
【文件预览】:
django-handler-1.0
----PKG-INFO(1KB)
----README.rst(364B)
----handlers()
--------models.py(57B)
--------apps.py(91B)
--------__init__.py(0B)
--------migrations()
--------db_utils.py(914B)
--------handlers.py(1KB)
--------views.py(63B)
--------admin.py(63B)
--------tests.py(60B)
----django_handler.egg-info()
--------PKG-INFO(1KB)
--------SOURCES.txt(356B)
--------top_level.txt(9B)
--------dependency_links.txt(1B)
----setup.cfg(38B)
----setup.py(1KB)

网友评论