add config logs_dir and mkdirp