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)
I wonder if we should consider using the threading library, as this module is deprecated:

https://docs.python.org/2/library/thread.html#module-thread

I think this might do the same thing:

https://docs.python.org/2/library/threading.html#threading.Thread.ident