Log Node.js version on startup

This commit is contained in:
Raul Ochoa 2017-02-10 10:03:36 +01:00
parent c4e6f3cd98
commit 742d7255a1

1
app.js
View File

@ -83,6 +83,7 @@ var version = require("./package").version;
var server = require('./app/server')();
var listener = server.listen(global.settings.node_port, global.settings.node_host);
listener.on('listening', function() {
console.info("Using Node.js %s", process.version);
console.info('Using configuration file "%s"', configurationFile);
console.log(
"CartoDB SQL API %s listening on %s:%s PID=%d (%s)",