Change log messages for using our logger in all logs
Remove unused code for accesing to log file from Preferences class