added LogFactory