Add logging to Listener and Server