LogFactory(...) improvement