Log Node.js version on startup

This commit is contained in:
Raul Ochoa 2017-02-10 10:03:06 +01:00
parent 229a2c0c3c
commit e5c3c282ef

1
app.js
View File

@ -110,6 +110,7 @@ var listener = server.listen(serverOptions.bind.port, serverOptions.bind.host, b
var version = require("./package").version; var version = require("./package").version;
listener.on('listening', function() { listener.on('listening', function() {
log("Using Node.js %s", process.version);
log('Using configuration file "%s"', configurationFile); log('Using configuration file "%s"', configurationFile);
log( log(
"Windshaft tileserver %s started on %s:%s PID=%d (%s)", "Windshaft tileserver %s started on %s:%s PID=%d (%s)",