Working with inconsistent logs

This night be a silly question but. Is there a reasonable way to handle inconsistencies in text logs?

For example I have a text log, the bulk of witch is well formed but at certain points carriage returns are inserted in the middle of messages or multiple leading fields will be left out.

Standard line-
10/3/19 18:04:40 --- ICDM --- Some message

odd line 1-
10/3/19 18:04:40 --- ICDM --- Some

odd line 2-
--- ICDM --- Some message

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.