cluster, v8: fix --logfile=%p.log
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 17 Dec 2013 22:35:18 +0000 (23:35 +0100)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Wed, 18 Dec 2013 23:36:12 +0000 (15:36 -0800)
commit2eaef9f6daf996d5ea8fb4dcf3443724da5f7662
tree08950232504e0c45720f57570215996f8ee2cedd
parent32478acf94ee3a787a65407b9f201bbb45405f3e
cluster, v8: fix --logfile=%p.log

The %p is replaced with the current PID.  This used to work in node.js
v0.9.7 but it seems to have been lost somewhere along the way.

This commit makes the fix from 6b713b52 ("cluster: make --prof work for
workers") work again.  Without it, all log data ends up in a single
file and is unusable because the addresses are all wrong.
deps/v8/src/log-utils.cc