class MessageLoggingOffServlet extends HttpServlet {

    @Override
    protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
        logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Message logging: OFF"));
        messageLoggingToggle.switchOffMessageLogging();
    }

    @Autowired public  MessageLoggingOffServlet(UrlAccessLogMessageAssembler urlAccessLogMessageAssembler, MessageLoggingToggle messageLoggingToggle);

}