Logging fixup

Fixup to logging in app.js