Adds logging to data_mapper_factory