All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.factoryfx.jetty.Slf4jRequestLogFactory Maven / Gradle / Ivy

package io.github.factoryfx.jetty;

import io.github.factoryfx.factory.FactoryBase;
import io.github.factoryfx.factory.attribute.primitive.IntegerAttribute;
import org.eclipse.jetty.server.RequestLog;
import org.eclipse.jetty.server.Slf4jRequestLog;
import org.eclipse.jetty.util.thread.QueuedThreadPool;
import org.eclipse.jetty.util.thread.ThreadPool;

public class Slf4jRequestLogFactory> extends FactoryBase {


    public Slf4jRequestLogFactory() {
        configLifeCycle().setCreator(() -> {
            Slf4jRequestLog requestLog = new Slf4jRequestLog();
            requestLog.setExtended(false);
            requestLog.setLogTimeZone("GMT");
            requestLog.setLogDateFormat("");
            requestLog.setLogLatency(true);
            return requestLog;
        });
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy