Combine multiple line logs into one.