Inasafe 1015

This PR restores logging in qgis