
var express = require('express');
var winston = require('winston');
var app = express();

var logger = app.logger = new (winston.Logger)({
  transports: [
    new (winston.transports.Console)({
      level: 'debug'
    })
  ]
});

app.use(express.static('public'));

app.use(function (req, res, next) {
  logger.debug(req.path);
  next();
});


app.listen(process.env.PORT || 5000, function (err, connection) {
  if (err) throw err;
  logger.info('Up and running');
  require('./server/db').init(app);
});

@@ -342,20 +342,19 @@
 );%0A%0A
-%0Aapp.listen(
+var port = 
 proc
@@ -373,16 +373,33 @@
  %7C%7C 5000
+;%0Aapp.listen(port
 , functi
@@ -472,17 +472,28 @@
  running
-'
+ on ' + port
 );%0A  req

update port