Adds logging to troubleshoot infowindow issues