Apply basic logging in modules