Renable the logger at the end of task. Build CSV string from an array