• 2
name Punditsdkoslkdosdkoskdo

How to disable websocket writing debug message

Is there a way to disable debug - websocket writing 5::: message that constantly come up in the console when the websocket sending something, the message is being to chatty.


You have to set log level on instance:

io.set('log level', 1);

Lower number will give you less info ( with 0 I guess none? ).

  • 0
Reply Report