log4js-node/log4js-node

Expose worker id as a layout pattern specifier

Open

#740 opened on Jun 26, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (5,721 stars) (787 forks)batch import
good first issuehelp wanted

Description

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

Contributor guide