added a logger= method to the server class