enable logging for module objects