client: debug logging