@Test
    void defaultAccessLoggerTest() {
        final Server sb = Server.builder()
                                .http(8080)
                                .service("/", (ctx, req) -> HttpResponse.of(HttpStatus.OK))
                                .virtualHost("*.example.com")
                                .and()
                                .virtualHost("*.example2.com")
                                .and()
                                .virtualHost("*.example2.com:8080")
                                .and()
                                .build();
        assertThat(sb.config().findVirtualHost("*.example.com", -1).accessLogger().getName())
                .isEqualTo("com.linecorp.armeria.logging.access.com.example");
        assertThat(sb.config().findVirtualHost("*.example2.com", -1).accessLogger().getName())
                .isEqualTo("com.linecorp.armeria.logging.access.com.example2");
        assertThat(sb.config().findVirtualHost("*.example2.com", 8080).accessLogger().getName())
                .isEqualTo("com.linecorp.armeria.logging.access.com.example2:8080");
    }
Makes sure that {@link VirtualHost}s can have a proper {@link Logger} used for writing access
when a user doesn't specify it.
core/src/test/java/com/linecorp/armeria/server/ServerBuilderTest.java