Fixed logging in ModuleWeaver