Fix logging initialization for python 2.6
Release v0.4.0.beta3