More logging for to debug excessive recursion