Logger now handles errors and Server can log errors instead of priniting
them to console.