Added client logging