add log dir for recording log