1129817 - prepend process id and thread id if line is split

By including a unique identifier, it is possible to separate logs that are generated at the same time.

 [Bugzilla-1129817](https://bugzilla.redhat.com/show_bug.cgi?id=1129817)
It could be faster to do this:

```
if '\n' in record.getMessage():
```

This way you don't turn one string into potentially several strings in a list structure. Also, I believe the in test will exit quickly upon the first newline, rather than continuing to search through them all.