Why not just keep the message on a single line, regardless of its length? I think "one error, one line" would be easier to deal with, both for human readers and tools.