Add logging of commands to app.