Put a bunch of debugging logger line in to try and find out what the ori...

...ginal issue is.