client side logging