Log Node.js version on startup
This commit is contained in:
parent
c4e6f3cd98
commit
742d7255a1
1
app.js
1
app.js
@ -83,6 +83,7 @@ var version = require("./package").version;
|
|||||||
var server = require('./app/server')();
|
var server = require('./app/server')();
|
||||||
var listener = server.listen(global.settings.node_port, global.settings.node_host);
|
var listener = server.listen(global.settings.node_port, global.settings.node_host);
|
||||||
listener.on('listening', function() {
|
listener.on('listening', function() {
|
||||||
|
console.info("Using Node.js %s", process.version);
|
||||||
console.info('Using configuration file "%s"', configurationFile);
|
console.info('Using configuration file "%s"', configurationFile);
|
||||||
console.log(
|
console.log(
|
||||||
"CartoDB SQL API %s listening on %s:%s PID=%d (%s)",
|
"CartoDB SQL API %s listening on %s:%s PID=%d (%s)",
|
||||||
|
Loading…
Reference in New Issue
Block a user