log naming factory and case