Add a log on cluster startup, including date and pid

This commit is contained in:
Sandro Santilli 2013-02-01 11:28:08 +01:00
parent 61f4212ba2
commit 6c40d936ef

View File

@ -51,6 +51,8 @@ var cluster = new Cluster({
noWorkers: 1
});
console.log(new Date().toISOString() + " - " + process.pid + " - Windshaft cluster starting");
cluster.listen(function(cb) {
cb(ws);
}, function() {