runtime: setting proper default value for log_level if no prefs file is found.
Merge branch 'maint'