socketIO async_mode=eventlet unable to display some logs #1930
-
Beta Was this translation helpful? Give feedback.
Answered by
miguelgrinberg
Jan 11, 2023
Replies: 1 comment
-
I think this is a misunderstanding on your part. When you use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
liuqijie6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this is a misunderstanding on your part. When you use
threading
, you are using the Flask development web server. If you change the async mode toeventlet
you are using eventlet's web server. The choice to log or not to log depends on each web server. The eventlet server uses thelog_output
option in thesocket_io.run()
function to determine if logging is enabled or not.