From 9ef96080a60a139712a2692a6e36ca8eeb475884 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Mon, 24 Aug 2015 12:45:21 +0200 Subject: [PATCH] Log PID on start --- app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 0c8ce467..3844a74e 100755 --- a/app.js +++ b/app.js @@ -106,10 +106,10 @@ ws.listen(global.environment.port, global.environment.host); var version = require("./package").version; ws.on('listening', function() { - console.log( - "Windshaft tileserver %s started on %s:%s (%s)", - version, global.environment.host, global.environment.port, ENV - ); + console.log( + "Windshaft tileserver %s started on %s:%s PID=%d (%s)", + version, global.environment.host, global.environment.port, process.pid, ENV + ); }); process.on('SIGHUP', function() {