Added client side logging