Fix reading logDir pref