better client logging