Though to a varying degree an obvious statement, as uWSGI disables Python threads by default, if use_queues is enabled (the default) you are not going to see much in the way of logs in Cloudwatch.
It would be helpful, maybe near to your AWS Lambda caveat, that for uWSGI this is mentioned and that the user should add enable-threads = true to their uWSGI INI file.
Better still would be for when threading is not available to refuse to start when use_queues is enabled, or print a large warning to STDERR that use_queues was automatically disabled.
Alas, I am not going to get that hour of my life back.
Thanks for the marvellous work otherwise.
Though to a varying degree an obvious statement, as uWSGI disables Python threads by default, if
use_queuesis enabled (the default) you are not going to see much in the way of logs in Cloudwatch.It would be helpful, maybe near to your AWS Lambda caveat, that for uWSGI this is mentioned and that the user should add
enable-threads = trueto their uWSGI INI file.Better still would be for when threading is not available to refuse to start when
use_queuesis enabled, or print a large warning to STDERR thatuse_queueswas automatically disabled.Alas, I am not going to get that hour of my life back.
Thanks for the marvellous work otherwise.