set logfile-directory in config