Add logging to server and client side searches to debug why it wont work on EC2