Include tiler version in startup log

This commit is contained in:
Sandro Santilli 2014-03-11 12:21:00 +01:00
parent 667b911023
commit 62cbb15089
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,10 @@
1.9.1 -- 2014-MM-DD 1.9.1 -- 2014-MM-DD
------------------- -------------------
Enhancements:
- Include tiler version in startup log
1.9.0 -- 2014-03-10 1.9.0 -- 2014-03-10
------------------- -------------------

4
app.js
View File

@ -53,8 +53,10 @@ ws.maxConnections = global.environment.maxConnections || 128;
ws.listen(global.environment.port, global.environment.host); ws.listen(global.environment.port, global.environment.host);
var version = require("./package").version;
ws.on('listening', function() { ws.on('listening', function() {
console.log("Windshaft tileserver started on " console.log("Windshaft tileserver " + version + " started on "
+ global.environment.host + ':' + global.environment.port + global.environment.host + ':' + global.environment.port
+ " (" + ENV + ")"); + " (" + ENV + ")");
}); });