Add logging to server.