log4js-node/log4js-node
View on GitHubExpose worker id as a layout pattern specifier
Open
#740 opened on Jun 26, 2018
good first issuehelp wanted
Repository metrics
- Stars
- (5,721 stars)
- PR merge metrics
- (Avg merge 423d 21h) (5 merged PRs in 30d)
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