Closed jeffv closed 12 years ago
This appears to have been introduced in commit a3fb1eca49462125f2b36ada3bbe15639170d5e7 in v0.7.0
My feeling is that the callback for creating the directory is delaying 'worker' event bind and causing the issue. We have a race condition between the server starting workers and the directory being created.
IMHO it's duplicate of #169.
Ah yes. It is. You are correct. Going to close this issue in favor of #169.
It appears that the event bind is failing circa /plugins/logger.js:135
I can confirm that the 'worker' event does indeed happen, and that it is bindable.
It appears that the bind is happening long after the 'worker' event has already been emitted, resulting in the function never being called.
This was tested on node v0.4.7, v0.4.12 and cluster v0.7.6 and v0.7.7. This also can be shown using /examples/logger.js.