BZ928281: Fix python logs.

[MERGE]