code: protected void logFinalResponse(long numBytesWritten) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              HttpChannelConfig c = getHttpConfig();
              Tr.debug(tc, "logFinal", c, c.getAccessLog(), c.getAccessLog().isStarted(), numBytesWritten);
          }
  
          // exit if access logging is disabled
          if (!getHttpConfig().getAccessLog().isStarted()) {
              return;
          }
          if (MethodValues.UNDEF.equals(getRequest().getMethodValue())) {
              // don't log anything if there wasn't a real request
              return;
          }
          getHttpConfig().getAccessLog().log(getRequest(), getResponse(), getRequestVersion().getName(), null, getRemoteAddr().getHostAddress(), numBytesWritten);
      }
docs: Method to consolidate the access logging message into one spot. This
  pulls all the pieces together for the appropriate line to save.
  
  Note if the signature of this method is changed, the signature in
  HttpInboundServiceContextImplLogFinalResponseTransformDescriptor.java
  needs to be updated. Passed as a parameter to avoid needing to reference
  the class in getContextInfo.