change some error logging to debug.