def set_log_path(self, fname):
fname = Path(fname)<EOL>if not fname.is_absolute():<EOL><INDENT>fname = Path(self._config.rootdir, fname)<EOL><DEDENT>if not fname.parent.exists():<EOL><INDENT>fname.parent.mkdir(exist_ok=True, parents=True)<EOL><DEDENT>self.log_file_handler = logging.FileHandler(<EOL>str(fname), mode="<STR_LIT:w>", encoding="<STR_LIT>"<EOL>)<EOL>self.log_file_handler.setFormatter(self.log_file_formatter)<EOL>
Public method, which can set filename parameter for
        Logging.FileHandler(). Also creates parent directory if
        it does not exist.

        .. warning::
            Please considered as an experimental API.