Package com.yammer.dropwizard.config

Examples of com.yammer.dropwizard.config.RequestLogConfiguration


    /**
     * Method called to suppress all request logging; usually during testing.
     */
    @SuppressWarnings("unchecked")
    public THIS disableRequestLog() {
        RequestLogConfiguration reqLog = getHttpConfiguration().getRequestLogConfiguration();
        reqLog.getConsoleConfiguration().setEnabled(false);
        reqLog.getFileConfiguration().setEnabled(false);
        reqLog.getSyslogConfiguration().setEnabled(false);
        return (THIS) this;
    }
View Full Code Here


    /**
     * Method called to suppress all request logging; usually during testing.
     */
    @SuppressWarnings("unchecked")
    public THIS disableRequestLog() {
        RequestLogConfiguration reqLog = getHttpConfiguration().getRequestLogConfiguration();
        reqLog.getConsoleConfiguration().setEnabled(false);
        reqLog.getFileConfiguration().setEnabled(false);
        reqLog.getSyslogConfiguration().setEnabled(false);
        return (THIS) this;
    }
View Full Code Here

    /**
     * Method called to suppress all request logging; usually during testing.
     */
    @SuppressWarnings("unchecked")
    public THIS disableRequestLog() {
        RequestLogConfiguration reqLog = getHttpConfiguration().getRequestLogConfiguration();
        reqLog.getConsoleConfiguration().setEnabled(false);
        reqLog.getFileConfiguration().setEnabled(false);
        reqLog.getSyslogConfiguration().setEnabled(false);
        return (THIS) this;
    }
View Full Code Here

TOP

Related Classes of com.yammer.dropwizard.config.RequestLogConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.