Added log parsing functions, bash script to grep logs for flag, python script to parse, does not yet work