moved to using OpenCsv library for generating error log