Node.js module for controlled batch processing, including log capture.