added regex log parser