adding a simple-pref for the logging