More logging to find the elusive cause of #30