Make logger AfterMiddleware run last.