Fix logging level for python 3.4