Avoids empty lines in the logs