Add missing newlines to log messages