code: @Override
      protected void publishTraceLogRecord(TraceWriter detailLog, LogRecord logRecord, Object id, String formattedMsg, String formattedVerboseMsg) {
          if (formattedVerboseMsg == null) {
              formattedVerboseMsg = formatter.formatVerboseMessage(logRecord, formattedMsg, false);
          }
          Level level = logRecord.getLevel();
          int levelVal = level.intValue();
  
          String traceDetail = formatter.traceLogFormat(logRecord, id, formattedMsg, formattedVerboseMsg);
          invokeTraceRouters(new RoutedMessageImpl(formattedMsg, formattedVerboseMsg, traceDetail, logRecord));
          if (traceDetail.contains("x.com.ibm")) {
              return;
          }
          if (detailLog == systemOut || detailLog == systemErr) {
              if (levelVal == WsLevel.ERROR.intValue() || levelVal == WsLevel.SEVERE.intValue()) {
                  writeStreamOutput(systemErr, traceDetail, false);
              } else {
                  writeStreamOutput((SystemLogHolder) detailLog, traceDetail, false);
              }
          } else {
              detailLog.writeRecord(traceDetail);
          }
      }
docs: Overwritten for old BaseTraceService behaviour for publishTraceLogRecord