change some logging to debug