Log port number of current instance in addition to pid. (#7110)

v1.18.x
Ben Lubar 6 years ago committed by Barış Soner Uşaklı
parent 8169739069
commit ff5b04beb9

@ -56,7 +56,7 @@ function setupWinston() {
formats.push(winston.format.json());
} else {
const timestampFormat = winston.format((info) => {
var dateString = new Date().toISOString() + ' [' + global.process.pid + ']';
var dateString = new Date().toISOString() + ' [' + nconf.get('port') + '/' + global.process.pid + ']';
info.level = dateString + ' - ' + info.level;
return info;
});

Loading…
Cancel
Save