code: public synchronized ODocument getReplicationJournal(final String iDatabaseName, final String iRemoteServer) throws IOException {
      OLogManager.instance().debug(this, "Retrieving the replication log for database '%s' from server '%s'...", iDatabaseName,
          storage.getURL());
  
      final ODocument response = sendRequest(OChannelBinaryProtocol.REQUEST_REPLICATION,
          new ODocument().field("operation", "getJournal").field("node", iRemoteServer).field("db", iDatabaseName),
          "Retrieve replication log");
  
      OLogManager.instance().debug(this,
          "Returned %d replication log entries for the database '%s' from server '%s' against server '%s'", response.fields(),
          iDatabaseName, storage.getURL(), iRemoteServer);
  
      return response;
    }
docs: Gets the replication journal for a database.
  
  @param iDatabaseName
  database name to replicate
  @param iRemoteName
  @return The journal composed as a JSON with key the serial number of the entry and as key the operation type id and the RID
  involved. Example {"10022":"1#10:3"}
  @throws IOException