Fixed some logging errors in client