static void maybeWriteAccessLog(ServiceRequestContext reqCtx) {
        final ServiceConfig config = reqCtx.config();
        if (shouldWriteAccessLog(config)) {
            reqCtx.log().whenComplete().thenAccept(log -> {
                try (SafeCloseable ignored = reqCtx.push()) {
                    config.accessLogWriter().log(log);
                }
            });
        }
    }
Writes an access log if the {@link TransientServiceOption#WITH_ACCESS_LOGGING} option is enabled
for the {@link ServiceConfig#transientServiceOptions()} and the {@link ServiceConfig#accessLogWriter()}
is not {@link AccessLogWriter#disabled()} for the given {@link ServiceRequestContext#config()}.
core/src/main/java/com/linecorp/armeria/server/AccessLogWriterUtil.java