Initial version of logs parsing