log4js-node
log4js-node copied to clipboard
Expose worker id as a layout pattern specifier
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
This would be a good one to tackle using the new cluster wrapper in version-3.x