I have a server running nginx + UWSGI + python. UWSGI works as a daemon with the flag set: --daemonize /var/log/uwsgi.log , which logs all application errors.
I noticed that on error, if I use the python print statement, it will write to the log, but only on error. The standard python logging library does not seem to affect the log in any situation.
How can I tell python log libraries to use UWSGI log?
source share