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.

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

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

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