added some debugging info to logpath.js to help resolve bb fails