Fix bug in client initialization
Enable debug logging for now
Improve logging information