for each line in log file { detect an error count of whole errors ++; } print result in csv file