Gate oslo.log on python3

Change-Id: I95d6f95aa435e32ab9cbf5413192cabfbffe2ca4