Avoid new lines in TOS logs

A way to avoid a new line for each entry in TOS logs.