add inifile and log directory