CLOUD-135 logging with factories