var http = require("http"),
	faye = require("faye");

// log all infos
faye.Logging.logLevel = 'info';
faye.logger = function(msg) {
	console.log('logged: ' + msg);
}

// create new faye node
var bayeux = new faye.NodeAdapter({
		mount: "/faye",
		timeout: 45
	});

bayeux.listen(8000);


var http = require("http"),
	faye = require("faye");

// log all infos
faye.Logging.logLevel = 'warn';
faye.logger = function(msg) {
	console.log('logged: ' + msg);
}

// create new faye node
var bayeux = new faye.NodeAdapter({
		mount: "/faye",
		timeout: 45
	});

bayeux.listen(8000);


raise log level to warnings only