Adds logging to the server and client as well.