added logging for the batch reactor