try {
    require('newrelic');
} catch (e) {
    if ( e.code === 'MODULE_NOT_FOUND') {
        console.log('Run npm install without the --no-optional flag to install "newrelic"!');
    } else {
        console.log('Copy service/newrelic.js.example to service/newrelic.js');
    }
}

var routes = require('./routes'),
    logs = require('./logs'),
    express = require('express'),
    api = express(),
    config = require('../config').Config;

api.use(express.methodOverride());
api.use(express.json());

logs.setupLogger(api);

routes.setup(api);

logs.setupErrorLogger(api);

api.listen(config.app.port, config.app.host);

@@ -615,11 +615,103 @@
 app.host
+, function () %7B%0A    console.log('listening on : ', config.app.host, ':', config.app.port);%0A%7D
 );%0A

Print host and port to console.