Using flask web framework as a interface to look for the data returned ,also some data have been retuned in the console as the program time
Reading the file done with the regular reading with benefiting for the regex to split the data
counting the elements is done by the regular if statment and by the crosstab function with pandas that helps reduce more if statements
one while loop has used and that considered accepted in the term of the complexity of the program
convert the dictionary to json
building a histogram to show different message type that shows low number of error message types ,use local host url and /histogram to see the histogram
use the local host url with /logs to see the json dictionary with the date and the operations for each module appeared in the log file also for the operations end with ERROR
and the percentage of errorneous operations for each module.