Added logging system using python logging library

This commit is contained in:
RemixDev 2020-05-08 18:06:43 +02:00
parent db6378b8f2
commit 8af573d185

View file

@ -55,7 +55,9 @@ socket_interface = SocketInterface()
serverLog = logging.getLogger('werkzeug') serverLog = logging.getLogger('werkzeug')
serverLog.disabled = True 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() app.initialize()