public void storeExecutionId()

in invoker/core/src/main/java/com/google/cloud/functions/invoker/gcf/ExecutionIdUtil.java [26:36]


  public void storeExecutionId(HttpServletRequest request) {
    if (!executionIdLoggingEnabled()) {
      return;
    }
    for (Handler handler : rootLogger.getHandlers()) {
      if (handler instanceof JsonLogHandler) {
        String id = getOrGenerateExecutionId(request);
        ((JsonLogHandler) handler).addExecutionId(Thread.currentThread().getId(), id);
      }
    }
  }