最佳答案
在 manage.py runserver
下运行 Django 应用程序时,如何向控制台发送跟踪消息(如 print
) ,但在 Apache 下运行应用程序时,如何将这些消息发送到日志文件?
I reviewed 姜戈伐木 and although I was impressed with its flexibility and configurability for advanced uses, I'm still stumped with how to handle my simple use-case.