Program to check the check the logs and find the errors using word matching and regular expressions