Extract batch logs to separate file