console socket.io spam
See original GitHub issueWhen BrowserSync is running, the console is just constantly spammed with the following every few milliseconds:
engine.io-client:socket socket receive: type "pong", data "undefined" +1ms
engine.io-client:socket writing ping packet - expecting pong within 60000ms +6ms
This makes standard debugging with console.log() impossible, and floods out any other logging. Is there an option or something I can do to disable this message?
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:20 (8 by maintainers)
Top Results From Across the Web
Prevent socket.io spamming sockets - Stack Overflow
Looking at https://socket.io/docs/v3/server-api/, you can use socket.handshake.address to get the IP of the connecting client.
Read more >Spam server Socket.IO cycles · Issue #2627 - GitHub
What I do is I try to determine a reasonable interval between socket emits. I then add a timer to the socket object...
Read more >Logging and debugging | Socket.IO
Before 1.0, the Socket.IO server would default to logging everything out to the console. This turned out to be annoyingly verbose for many...
Read more >socket-io-anti-spam - npm
This module prevents socket.emit spams by clients via ip bans. Latest version: 2.5.0, last published: 4 years ago. Start using socket-io-anti-spam in your ......
Read more >module socket-anti-spam function
````js const antiSpam = require('socket-anti-spam') const bans = antiSpam.getBans() console.log(bans) // Returns a array full of ip's that are currently ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, OK. I found a temporary solution.
localStorage.debug = ''
and ↩️Maybe this will do the trick.
Having the same issue on Sierra OSX 10.12 Node 6
Logs appear on all browsers.