Wednesday, March 21, 2012

socket.io change log level


Set socket.io property "log level" .

var LISTEN_PORT = 8888;
// Connect
var io = require('socket.io').listen(LISTEN_PORT);
io.set("log level",1);

No comments:

Post a Comment