Log parsing tool