Make logging work again

Now the logging should work in all modules again.