fixes bug 962638 - add laglog to the middleware_app

@twobraids r?