On Tue, Feb 23, 2016 at 4:29 PM, Plovarna <[email protected]> wrote: > * Is it possible to setup uwsgi AND my Python app, that it will show mix of > both log messages?
This works out-of-the-box imho. uWSGI is logging to its stderr. App will inherit both stdout/stderr fds from parent, so their logs are mixed on stderr, but stdout is app only. uWSGI is silent on stdout AFAIK. $ uwsgi --module helloworld.wsgi --socket app.sock <stderr/out from app, plus logs from uwsgi> $ uwsgi --module helloworld.wsgi --socket app.sock 2>/dev/null <stdout from app> (tested on Django app, uwsgi 2.0.12) > Right now uwsgi logs are useless for me (I have access logs from Nginx and I > am missing logs from my app). I don’t want another piece of SW to be > installed inside of Docker container just because log juggling. I don't know about the docker part.. Regards, BranoZ
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
