Fixed an issue with the log printing the first line on the last line of
the previous session