should use T instead of LoggingFactoryDefinition