tweaks to app.js logging