docs: public void enableJdbcLogging(WSManagedConnectionFactoryImpl mcf) throws ResourceException {
          // in the Generic case (internalGeneric) just pass the pw
  
          PrintWriter pw = getPrintWriter(); 
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "enabling logging", mcf, pw);
          mcf.reallySetLogWriter(pw); 
          mcf.loggingEnabled = true;
      }