From 4cdb3a34d26af6a78c2de4832a007cfdf7109592 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 28 Oct 2014 15:48:03 -0400 Subject: [PATCH] log signal as well --- loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader.js b/loader.js index 3015bb18e7..7071b0dc76 100644 --- a/loader.js +++ b/loader.js @@ -161,7 +161,7 @@ Loader.addClusterEvents = function(callback) { } } - console.log('[cluster] Child Process (' + worker.process.pid + ') has exited (code: ' + code + ')'); + console.log('[cluster] Child Process (' + worker.process.pid + ') has exited (code: ' + code + ', signal: ' + signal +')'); if (!worker.suicide) { console.log('[cluster] Spinning up another process...');