Logger was being ignored!

This commit is contained in:
Remy Sharp 2012-08-16 16:43:54 +01:00
parent 9cdfe7bd16
commit ce2a18b695

View File

@ -124,7 +124,7 @@ app.connect = function (callback) {
logger = process.env.JSBIN_LOGGER || app.set('server logger') || 'tiny';
if (logger !== 'none') {
app.use(express.logger());
app.use(express.logger(logger));
}
app.use(mount, express.static(path.join(app.set('root'), 'public')));