add logs parsing