Fix client logging