Switched basic error messages to use Logger.