code: public ServerInstanceLogRecordList getLogListForServerInstance(RepositoryPointer after, final LogRecordHeaderFilter filter) {
          if (after instanceof RepositoryPointerImpl) {
              ServerInstanceByPointer instance = new ServerInstanceByPointer((RepositoryPointerImpl) after);
  
              if (instance.logs == null && instance.traces == null) {
                  return EMPTY_LIST;
              }
  
              if (instance.record != null) {
                  return new ServerInstanceLogRecordListHeaderPointerImpl(instance.logs, instance.traces, instance.switched, (RepositoryPointerImpl) after, instance.record, filter, -1);
              }
  
              // Neither trace nor log contain the location which means that file containing
              // it was purged already and that we can just return all the records we can find.
              return new ServerInstanceLogRecordListImpl(instance.logs, instance.traces, instance.switched) {
                  @Override
                  public OnePidRecordListImpl queryResult(
                                                          LogRepositoryBrowser browser) {
                      return new LogRecordBrowser(browser).recordsInProcess(-1, -1, filter);
                  }
              };
          } else if (after != null) {
              throw new IllegalArgumentException("This method accept only RepositoryPointer instances retrieved from previously read records");
          }
  
          return getLogListForServerInstance((Date) null, filter);
      }
docs: returns log records from the binary repository that are beyond a given repository location and satisfies the filter criteria as specified
  by the parameters. Callers would have to invoke {@link RepositoryLogRecord#getRepositoryPointer()} to obtain the RepositoryPointer
  of the last record read. The returned logs will be from the same server instance.
  
  @param after RepositoryPointer of the last read log record.
  @param filter an instance implementing {@link LogRecordHeaderFilter} interface to verify one record at a time.
  @return the iterable list of log records