阅读背景:

配置Django日志记录 - SQL和其他消息

来源:互联网 

I'm trying to configure a Django app's logging so that all SQL generated by Django's ORM is logged to sql.log, and all other logged messages by Django are logged to another file. My logging portion of setup.py looks like this:I'm trying to configure a Django app's logging




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: