How to remove debugging from an Express app?


I would like to remove the debugging mode. I am using express, redis, and connect-redis, but I do not know where the debugging mode comes from.

Node debug

Someone has an idea?

11/18/2015 10:27:18 AM

Accepted Answer


To completely remove debugging use:

var io = require('').listen(app, { log: false });

Where app is node.js http server / express etc.

You forgot to mention you are also using This is coming from You can disable this by configuration:

io.set('log level', 1); // reduce logging
4/1/2014 7:31:48 PM

Just configure the log level to number 1 to avoid income unnecessary messages.

You can figure out more information about Socket.IO options on this link.

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow