Add a bunch of logs to track down layer loading problem