how to stop server debugging mode
I have started socket.io server using node.js self.socket = io.listen(8004); and it is printing a lot on console e.g.
debug - clearing poll timeout debug - xhr-polling writing 8:: debug - set close timeout for client 211284805669819852 debug - xhr-polling closed due to exceeded duration debug - setting request GET /socket.io/1/xhr-polling/211284805669819852?t=1324360963759 debug - setting poll timeout debug - discarding transport debug - cleared close timeout for client 211284805669819852 debug - clearing poll timeou
Can i stop this output on console. if yes then how ?
Set the log level based on NODE_ENV value:
io.set("log level", 1);
Also, this should be asked in the mailing list, not logged as a bug.
closed based on @Srirangan's comments, it should indeed be asked on the google groups forums instead of in a bug base.