add logging to the server