code: public void unsetLogHandler(String id, LogHandler ref) {
          if (id != null) {
              if (ref == null) {
                  logHandlerServices.remove(id);
              } else {
                  logHandlerServices.remove(id, ref);
              }
          }
      }
docs: Remove the LogHandler ref.