我已经意识到我的 django 应用程序中的打印语句导致 wsgi 出错并失败。无需遍历我的所有代码并删除/注释掉打印语句,有没有一种方法可以在运行 wsgi 时禁用它们。它需要尽可能简单。
谢谢
python wsgi mod-wsgi
mod-wsgi ×1
python ×1
wsgi ×1