Log parsing

Maybe it is an overkill :)