我在uwsgi中使用nginx。
在uwsgi配置文件中,每当我使用记录器标记时,都会出现“无法找到记录器文件”错误。
这是我的配置文件中的条目:
nonok文件:/tmp/uwsgi-us.log
nonok(?!HTTP/1。\d 200)
这里有指针吗?
谢谢你。
最佳答案
您需要使用plugins = logfile
或plugins = python,logfile
这样的行来启用“logfile”插件。
关于logging - Uwsgi记录器: unable to find logger file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29069455/