code: public final static void logException(TraceComponent compTc, Throwable t, EJBMethodMetaData m, BeanO bean) {
          //d408351 - only log recursive exceptions if they have not been logged before
          if (hasBeenLogged(t)) {
              return;
          }
  
          BeanId beanId = null;
          if (bean != null) {
              beanId = bean.getId();
          }
  
          if (m == null) {
              if (beanId == null) {
                  Tr.error(compTc, "NON_APPLICATION_EXCEPTION_CNTR0018E", t);
              } else {
                  Tr.error(compTc, "NON_APPLICATION_EXCEPTION_ON_BEAN_CNTR0021E", new Object[] { t, beanId });
              }
          } else {
              String methodName = m.getMethodName();
              if (beanId == null) {
                  Tr.error(compTc, "NON_APPLICATION_EXCEPTION_METHOD_CNTR0019E", new Object[] { t, methodName });
              } else {
                  Tr.error(compTc, "NON_APPLICATION_EXCEPTION_METHOD_ON_BEAN_CNTR0020E", new Object[] { t, methodName, beanId });
              }
  
          }
  
      }
docs: d408351 - added new signature with customizable TraceComponent