log4js-node icon indicating copy to clipboard operation
log4js-node copied to clipboard

Expose worker id as a layout pattern specifier

Open OrangeDog opened this issue 7 years ago • 1 comments

While the pid is available (via %z) it would be good to also make the worker id available when the cluster module is in use. I guess it should evaluate to 0 if the process is not a worker

OrangeDog avatar Jun 26 '18 14:06 OrangeDog

This would be a good one to tackle using the new cluster wrapper in version-3.x

nomiddlename avatar Jul 11 '18 21:07 nomiddlename