use of reactor.netty.http.server.logging.AccessLog in project reactor-netty by reactor.
the class CustomLogAccessFormatApplication method main.
public static void main(String[] args) {
DisposableServer server = HttpServer.create().accessLog(true, x -> AccessLog.create("method={}, uri={}", x.method(), x.uri())).bindNow();
server.onDispose().block();
}
Aggregations