Add some logging to help track down #13444.