add client logging