Flask-SocketIO dependence, shift from print() to logging