fixes bug 962638 - add laglog to the middleware_app, r=twobraids