using error,warn,debug,info for socket.io configuration