Log support improvements

Logging lines may not finish with a new line character.
Improves coverage