Removed logger from service factory