Fixed logging not being possible to enable