implemented disable-logging pref