var http = require('http'),
    config = require('./config'),
    router = require('./router'),
    retorter = require('./router/retorter'),
    port = config.port || 8080,
    server = http.createServer();

server.on('request', function(request, response){
    retorter.retort(request, response);
    router(request, response);
});

server.listen(port, function(error){
    if(error){
        logger.error(error);
        return process.exit(-1);
    }

    console.log('Listening on port: ' + port);
});
@@ -391,14 +391,15 @@
     
-logger
+console
 .err
@@ -495,12 +495,13 @@
 + port);%0A%7D);
+%0A

Update index.js