Adding client logging