Added logging to help find problem on travis.