Moved some logging to debug