Include tiler version in startup log
This commit is contained in:
parent
667b911023
commit
62cbb15089
4
NEWS.md
4
NEWS.md
@ -1,6 +1,10 @@
|
||||
1.9.1 -- 2014-MM-DD
|
||||
-------------------
|
||||
|
||||
Enhancements:
|
||||
|
||||
- Include tiler version in startup log
|
||||
|
||||
1.9.0 -- 2014-03-10
|
||||
-------------------
|
||||
|
||||
|
4
app.js
4
app.js
@ -53,8 +53,10 @@ ws.maxConnections = global.environment.maxConnections || 128;
|
||||
|
||||
ws.listen(global.environment.port, global.environment.host);
|
||||
|
||||
var version = require("./package").version;
|
||||
|
||||
ws.on('listening', function() {
|
||||
console.log("Windshaft tileserver started on "
|
||||
console.log("Windshaft tileserver " + version + " started on "
|
||||
+ global.environment.host + ':' + global.environment.port
|
||||
+ " (" + ENV + ")");
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user