NXBT-765: improve log parsing