move logging to the server