private static void configureAccessLog(ServerBuilder server, ArmeriaSettings.AccessLog settings) {
        if ("common".equalsIgnoreCase(settings.getType())) {
            server.accessLogWriter(AccessLogWriter.common(), true);
        } else if ("combined".equalsIgnoreCase(settings.getType())) {
            server.accessLogWriter(AccessLogWriter.combined(), true);
        } else if ("disabled".equalsIgnoreCase(settings.getType())) {
            server.accessLogWriter(AccessLogWriter.disabled(), true);
        } else if ("custom".equalsIgnoreCase(settings.getType())) {
            checkArgument(settings.getFormat() != null, "custom type must have format");
            server.accessLogWriter(AccessLogWriter.custom(settings.getFormat()), true);
        }
    }
Configures the {@link ServerBuilder} using the specified {@link ArmeriaSettings}.
spring/boot3-autoconfigure/src/main/java/com/linecorp/armeria/internal/spring/ArmeriaConfigurationSettingsUtil.java