Update appCtrl.js

make app logs pipe directly to disk