BZ928281: Fix python logs.
Merge pull request #1829 from mrunalp/bugs/928281

Merged by openshift-bot