De-interleave log lines
Bash, 4 11 bytes
Added 7 bytes to fix a bug kindly pointed out by Shaggy.

sort -sk1,1

Try it online!
Performs a stable sort (the s command line argument) based on the first field (k1,1) separated by whitespace.