From 8af573d185c44788fd0b17e1edca35247bdf064a Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 8 May 2020 18:06:43 +0200 Subject: [PATCH] Added logging system using python logging library --- server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 2a3b38b..f7b8572 100644 --- a/server.py +++ b/server.py @@ -55,7 +55,9 @@ socket_interface = SocketInterface() serverLog = logging.getLogger('werkzeug') serverLog.disabled = True -server.logger.disabled = True +logging.getLogger('socketio').setLevel(logging.ERROR) +logging.getLogger('engineio').setLevel(logging.ERROR) +#server.logger.disabled = True app.initialize()