Add logging to help diagnose bug 1061923