When logging I'm using "%(threadName)s" in my formatting to output the
thread name. This worked fine when using threads, but now that I'm
trying to use ugreen, every async core has the same process and thread
name. Is there some sort of way to output which "async core" I'm on?
I tried uwsgi.get_logvar('core') but it returns "None".
I think I found it at uwsgi.env['uwsgi.core'] , but I'm not sure if
that's documented anywhere. There's no mention of the "env"
dictionary at http://uwsgi-docs.readthedocs.org/en/latest/PythonModule.html
.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi